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!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

I have to implement a zoomable real time chart. I started with CreateRealTimeTickingStockChartFragment as it seems to be the nearest to what I need. I added .withPinchZoomModifier().build() to the chart modifiers, but it doesn’t work very well, there’s lag and jumps…

I’m testing on a Nexus 5.

I also started adapting the example to what I need need which uses a numeric x axis (it measures seconds, which can appear irregularly, so I assume it’s numeric), but noticing the same problems there.

Using SciChart v1.2.1.1540

From this thread, there seems to have been some related problems in an older version, maybe this hasn’t been fully fixed yet? Or maybe I’m configuring something wrong, started using SciChart today and very new to this.

Thanks in advance and amazing work! I’m very excited about this library and hope this works because otherwise it will be probably a deal breaker for the people I’m working for :/

Version
6.0.1
  • Ivan Schütz
    Note: When I say “appear irregularly” I mean that also the space between them can be irregular.
  • You must to post comments
1
0

Hi Ivan,

Please can you try to set receive handled events flag for PinchZoomModifier:

    .withPinchZoomModifier().withReceiveHandledEvents(true).build()

You mentioned that you use other modifiers – so I was thinking maybe sometimes they could handle touch events before they reach PinchZoomModifier. Setting the flag above allows to receive all events even those which were marked as handled by other modifiers.

If it doesn’t help I would suggest to check logcat otuput. Sometimes jumps/lags could be caused by unhandled exceptions which were thrown during rendering.

Regarding the thread which you mentioned – as I know that issue was fixed in v1.1 and it could be reproduced only with category axis. You said that you tried NumericAxis and got the same behavior as with CategoryDateAxis which is used in example by default.

Hope this will help you!

Best regards,

  • Ivan Schütz
    This seems to have done the trick! Will test a little more and if everything works confirm. Thanks!
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.