SetRangeY sets the minimum and maximum values of the y scale
(min float32, max float32)
| 267 | |
| 268 | // SetRangeY sets the minimum and maximum values of the y scale |
| 269 | func (ch *Chart) SetRangeY(min float32, max float32) { |
| 270 | |
| 271 | if ch.autoY { |
| 272 | return |
| 273 | } |
| 274 | ch.minY = min |
| 275 | ch.maxY = max |
| 276 | ch.updateGraphs() |
| 277 | } |
| 278 | |
| 279 | // SetRangeYauto sets the state of the auto |
| 280 | func (ch *Chart) SetRangeYauto(auto bool) { |
no test coverage detected