Y-Axis doesnt automatically go to maximum number

Hello,
I'm new to SyncFusion and new too on using Chart Diagram for Windows Form.
Right now, i'm testing SyncFusion Essential Chart using ColumnChart_2015.sln solution, and when i change max Y Axis (variable named numPoints) to 5 in InitializeChartData the chart doesn't show the fifth Y Axis.
Pls take a look at this img : https://ibb.co/ekFmxz


1 Reply

MK Muneesh Kumar G Syncfusion Team September 7, 2018 06:53 AM UTC

Hi Ryan, 
 
Thanks for using Syncfusion products.  
 
We have analyzed your query and we would like to inform you that the static range set in axis for defined data. If you like to increase the data count, need to increase the range as well. You can resolve this problem by increasing Range in PrimryXAxis as per the below code snippet in ChartAppearance.cs file.  
 
Code snippet [C#]: 
            chart.PrimaryXAxis.RangeType = ChartAxisRangeType.Set; 
            
           chart.PrimaryXAxis.Range = new MinMaxInfo(0, 6, 1); 
 
            chart.Text = "Daily Performance "; 
 
Please refer below user documentation for more details about range set.  
 
 
 
Hope this helps.  
 
Regards,
Muneesh Kumar G.
 


Loader.
Up arrow icon