SetFontSizeX sets the font size for the x scale labels
(size float64)
| 140 | |
| 141 | // SetFontSizeX sets the font size for the x scale labels |
| 142 | func (ch *Chart) SetFontSizeX(size float64) { |
| 143 | |
| 144 | ch.fontSizeX = size |
| 145 | for i := 0; i < len(ch.labelsX); i++ { |
| 146 | ch.labelsX[i].SetFontSize(ch.fontSizeX) |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | // SetFontSizeY sets the font size for the y scale labels |
| 151 | func (ch *Chart) SetFontSizeY(size float64) { |
no test coverage detected