SetFontSizeY sets the font size for the y scale labels
(size float64)
| 149 | |
| 150 | // SetFontSizeY sets the font size for the y scale labels |
| 151 | func (ch *Chart) SetFontSizeY(size float64) { |
| 152 | |
| 153 | ch.fontSizeY = size |
| 154 | for i := 0; i < len(ch.labelsY); i++ { |
| 155 | ch.labelsY[i].SetFontSize(ch.fontSizeY) |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | // SetScaleX sets the X scale number of lines, lines color and label font size |
| 160 | func (ch *Chart) SetScaleX(lines int, color *math32.Color) { |
no test coverage detected