HeatmapPrinter is able to render tables.
| 47 | |
| 48 | // HeatmapPrinter is able to render tables. |
| 49 | type HeatmapPrinter struct { |
| 50 | HasHeader bool |
| 51 | AxisStyle *Style |
| 52 | VerticalSeparator string |
| 53 | TopRightCornerSeparator string |
| 54 | TopLeftCornerSeparator string |
| 55 | BottomLeftCornerSeparator string |
| 56 | BottomRightCornerSeparator string |
| 57 | HorizontalSeparator string |
| 58 | TSeparator string |
| 59 | TReverseSeparator string |
| 60 | LSeparator string |
| 61 | LReverseSeparator string |
| 62 | TCrossSeparator string |
| 63 | LegendLabel string |
| 64 | SeparatorStyle *Style |
| 65 | Data HeatmapData |
| 66 | Axis HeatmapAxis |
| 67 | Boxed bool |
| 68 | Grid bool |
| 69 | OnlyColoredCells bool |
| 70 | LegendOnlyColoredCells bool |
| 71 | EnableComplementaryColor bool |
| 72 | Legend bool |
| 73 | CellSize int |
| 74 | Colors []Color |
| 75 | TextColor Color |
| 76 | EnableRGB bool |
| 77 | RGBRange []RGB |
| 78 | TextRGB RGB |
| 79 | Writer io.Writer |
| 80 | |
| 81 | minValue float32 |
| 82 | maxValue float32 |
| 83 | |
| 84 | rgbLegendValue int |
| 85 | } |
| 86 | |
| 87 | var complementaryColors = map[Color]Color{ |
| 88 | BgBlack: FgLightWhite, |
nothing calls this directly
no outgoing calls
no test coverage detected