SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

1
0

I have a datetime x-axis. The data i want to see is ordered. However there are gaps in my datetimes. When i load the data SciChart will fill all the gaps with empty space. E.g i load some data from 02-03-2014 to 05-03-2014 and continue at 07-08-2014 and ends at 10-10-2014. Sci chart creates an axis from 02-03-2014 to 10-10-2014. Is there an option where i can avoid those empty spaces? In the pics you can see what im trying to achieve.

I dont know why the pics are not complete. Just click them to see the whole picture. The first one is how my data is loaded. The second one is how i want it to be loaded.

Images
  • You must to post comments
0
0

Hi bochelie,

There are two types of DateTimeAxis which SciChart provides out of the box. The are Value Axes and Category Axes. You can see the difference in the article CategoryDateTimeAxis vs. DateTimeAxis.

You can try our CategoryDateTimeAxis type, however that will ignore the XAxis values for computation of x-coordinate, choosing only the index of the value instead. There is currently no way to specify a range of values to exclude from an XAxis in SciChart.

Best regards,
Andrew

  • bochelie
    Andrew, I get it now. Wath i am asking for is almost imposible to do in a simple way. I think i have to rethink the use of my chart.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.