I am new to dev-express and I was trying to create a Line chart with below data:
In x-axis is the years and y-axis has the population And to plot for all the 3 countries there will be three series.
I have successfully created the chart but the year shows somewhat like this:
if you see the x-axis it is coming like in decimals although in database year is in YEAR(Mysql)
I tried using
diagram.AxisX.VisualRange.Auto = false;
diagram.AxisX.VisualRange.AutoSideMargins = true;
diagram.AxisX.VisualRange.MinValue = 2000;
diagram.AxisX.VisualRange.MaxValue = 2010;
diagram.AxisX.WholeRange.MinValue = 1990;
diagram.AxisX.WholeRange.MaxValue = 2014;
Also one more problem I was having I tried using WholeRange.MaxValueInternal and VisualRange.MaxValueInternal But got below error:
Also I do know the difference between VisualRange and wholerange but i did not get the importance of MaxValueInternal except that it should be set to double when series' argumentscaletype is datetime or qualitative but how does it effects the series? what is diffrence if we dont use it at all or use it on chart?