I have line graph and bar graph using core plot framework. In that graphs it won't starts from origin. see this image graph image
In that image x-axis and y-axis had started from (-2,-50). I don't want to show negative x-axis and y-axis.
CPTXYAxisSet *axisSet = (CPTXYAxisSet *)graph.axisSet;
axisSet.xAxis.orthogonalCoordinateDecimal = CPTDecimalFromFloat(1.0); // or whatever
axisSet.yAxis.orthogonalCoordinateDecimal = CPTDecimalFromFloat(1.0);
I tried the above code. If i used that it won't shows the values in x-axis and y-axis. How do i solve this? Thanks in advance!