Edge label missing

When using DateTimeAxis with EdgeLabelPlacement.none or EdgeLabelPlacement.shift, the edge label is still not showing.


Attachment: example.png_3835bdf.zip

3 Replies 1 reply marked as answer

SK Sriram Kiran Senthilkumar Syncfusion Team September 10, 2020 09:48 AM UTC

Hi Merlin, 
  
Greetings from Syncfusion. We have analyzed your scenario and we found that there are no edge labels calculated for your chart’s x-axis because the first data point’s x value is between 16:58 and 17:00 and the last data point’s x value is between 17:08 and 17:10. As the interval between your x-axis labels is calculated as 00:02 according to your data source, the x-axis labels are calculated from 17:00 to 17:08 instead of calculating the edge labels for the x-axis. This is the default behaviour. You can also overcome this by providing necessary DateTime values for the minimum and maximum properties of x-axis according to your start and end data points in your chart data source so that the edge axis label will be rendered according to the provided minimum and maximum values. For further reference on minimum and maximum properties of an axis, please check the user guide below for reference. 
 
Please get in touch with us if you require further assistance. 
  
Regards, 
Sriram Kiran 


Marked as answer

ME merlin September 10, 2020 12:12 PM UTC

Thanks for such detailed explanation.


SK Sriram Kiran Senthilkumar Syncfusion Team September 10, 2020 12:19 PM UTC

Hi Merlin, 
  
Most welcome. We are always happing in assisting you. Please revert us if you require further assistance. 
  
Regards, 
Sriram Kiran. 


Loader.
Up arrow icon