Hi,
I created a composite chart which has LineChart and ColumnChart. The X-Axis is a String field.
The line graph data point is not always displaying at the start of the column chart. Is there any way i can make the line graph datapoint display at the starting of the column bar for each series.
See the graph in attached file.
Thanks in Advance.
Max, Thanks for your time.
I tried with your suggestion, the line data point is not constant at the same position on bar graph. But it looks little better than before.
Thanks.
This happens because line charts use a different type of x axis and span the entire width of the chart layer. You can set the axis margin to make the line align better with the column chart. The margin values will depend on how much data you have, so it's a bit of a trial and error approach.
LineXAxis.Margin.Far.MarginType = LocationType.Percentage;LineXAxis.Margin.Near.MarginType = LocationType.Percentage;LineXAxis.Margin.Far.Value=5;LineXAxis.Margin.Near.Value=5;