Again Hi all,
Thanks for kind and fast sport.
I want to draw financal indactors below of my main chart. But because of the yAxis labels lengths charts doesnt start from same point. How can i get the main chart y axis margin and give same value to below chart. I must be sure both charts x axis must show same time frames at same points
Hi,
The best way to do this is to set an extent on the y axis for both charts.IGNumericYAxis *topYAxis = (IGNumericYAxis*)[topChart findAxisByKey:@"yAxis"];
IGNumericYAxis *bottomYAxis = (IGNumericYAxis*)[bottomChart findAxisByKey: @"yAxis"];
topYAxis.extent = bottomYAxis.extent = 50;
This should ensure that both vertical label panels have the same width and the chart viewports start from the same x coordinate. Try different extent values to get a better fit.