Point of Y Axis is not showing correctly.
Seroja1010 opened this issue · comments
Seroja1010 commented
graph.autoScaleYAxis = false
func maxValue(forLineGraph graph: BEMSimpleLineGraphView) -> CGFloat {
return 10000
}
func minValue(forLineGraph graph: BEMSimpleLineGraphView) -> CGFloat {
return 0
}
The graph is not showing correctly. I am using xcode 8.0 and swift3.0
Sam Spencer commented
Thank you for your contribution. In order to better address this issue, would you mind providing additional details? What exactly is happening with the graph? Can you add a screenshot?
Hugh Mackworth commented
If you turn yaxis auto-scaling off, then you're providing the point values directly for the graph (e.g. 0 to 450 if your view is 450 points high). Therefore min/Max values have no meaning.