Pre loader

CategoryDateTimeAxis

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

0
0

Hi,

I’m in the process of evaluating SciChart and had a couple of questions. I’m using SciChart to display realtime OHLC values for a trading application. I’m using the CategoryDateTimeAxis for the X Axis.

My questions are
1. The XAxisDragModifier doesn’t seem to work with the CategoryDateTimeAxis. It does seem to work with the DateTime Axis. Is there something different I need to do for it work with the CategoryDateTimeAxis ?

  1. Is it possible to anchor a newly added point to the same area of the chart ie..the chart would scroll to the left after each data point is added so that the new data point is still located in the same area of the screen.

Please let me know.
Thanks,
Deepak

  • You must to post comments
0
0

There’s definitely nothing Earth-shattering here gas stations with e85 fuel near me and this is not how I’d do this in production. Enabling and disabling here is achieved by a simple double click which is very convenient for testing and keeping the modifier free from external dependencies.

  • You must to post comments
0
0

Hello Deepak,

We have an example here which uses the XAxisDragModifier with the CategoryDateTimeAxis. Try playing with the ClipModeX property since this affects the behaviour of the modifier.

Secondly yes, you can update the VisibleRange manually as in this example. Click ‘Start Realtime’ in our RealTimeStockCharts demo as this does what you are asking for (it keeps the latest added point in the same position). This is achieved in the ViewModel where we update VisibleRange when points are appended.

I hope this helps!

Best regards,
Andrew

  • deepakb1
    Thanks Andrew, I was able to use ClipModeX to drag the chart along the X Axis. I did take a look at the RealTimeStockCharts, it looks like the XAxisVisibleRange is a property of the SciStockChart. Is there a similar property for the SciChart Surface ?
  • Andrew Burnett-Thompson
    Yes there is, you will need to bind the ScichartSurface.XAxis.VisibleRange to your viewmodel. We use this technique to update VisibleRange from the ViewModel in the ECG Monitor demo. Best regards, Andrew
  • You must to post comments
0
0

There’s definitely nothing Earth-shattering here gas stations with e85 fuel near me and this is not how I’d do this in production. Enabling and disabling here is achieved by a simple double click which is very convenient for testing and keeping the modifier free from external dependencies.

  • You must to post comments
Showing 3 results
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