enter a date range and display the data corresponding to that period of time

I have a graph that will receive large amounts of data so at the time of viewing it would be a bit tedious.

I would like to know how to make the user enter a range of dates and display the specific graph for that date.

3 Replies

DD Dharanidharan Dharmasivam Syncfusion Team March 9, 2020 10:44 AM UTC

Hi Aldair, 
  
Greetings from Syncfusion. We have analyzed your query and your requirement to display the specific range of data can be achieved by using the visibleMinimum and visibleMaximum properties in the axis.  
         
Code Snippet: 
  
SfCartesianChart(  
       primaryXAxis: DateTimeAxis(  
             visibleMInimum: dateMinimum, 
             visibleMaximum: dateMaximum             
      ),  
 
  
 
  
We have attached a sample below for your reference and more information about the axis customization, find the help documentation link below. 
 
Help documentation:  axis-customization 
  
Sample:  specific_date_range 
 
In the above sample, using the date picker, we have changed the visible ranges and you can change this based on your scenario. 
  
Regards, 
Dharani. 



AR Aldair Ramiro Turizo Gamarra March 17, 2020 08:32 PM UTC

Thank you very much, your help has helped me a lot.

Is there a limit of questions in this forum for each user? or I am free to ask my questions.


DD Dharanidharan Dharmasivam Syncfusion Team March 18, 2020 01:26 PM UTC

Hi Aldair, 
 
Most welcome. No, there are no limitations to post the queries or each user. However, you can create new forums for the new queries, this will be helpful for better follow up. We are always happy in assisting you. 
 
Thanks, 
Dharani. 


Loader.
Up arrow icon