Pre loader

x-axis avoid gaps

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

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.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies