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

Hello.

Thank you for creating great chart library.
I’m now using a trial version for test that is enable to use at project that I’m concerned.

I have one problem that when I set zoom function to chart, and zoomed too much, axis label disappears.
(I used mouse scroll zoom, I attached zoom before image and after image)

How can I control this problem?
Is there any properties or setting for this?

Images
  • You must to post comments
0
0

Hi Hiroyuki,

Can you tell me:

a.) What version of SciChart are you using?

b.) What is the Min, Max value of YAxis.VisibleRange when this problem occurs?

Best regards,
Andrew

  • You must to post comments
0
0

Thank you for your quick response.

a.) What version of SciChart are you using?

version 3.5.0.7128

.NET Framework 4.0

b.) What is the Min, Max value of YAxis.VisibleRange when this problem occurs?

I used mouse scroll zoom to check it.

[YAxis view OK]

YAxis.VisibleRange.Min: 1.91482955526612E-11

YAxis.VisibleRange.Max: 2.13394687753202E-11

before this, YAxis shows the label.

[YAxis view NG]

YAxis.VisibleRange.Min: 1.92723671792949E-11

YAxis.VisibleRange.Max: 2.1224702520684E-11

after this, YAxis label disappears.

(Value little bit changes for each zoom and unzoom action)

For our applicaiton and project, We want to use around at 1E-15 for minimal.

  • You must to post comments
0
0

Hi Hiroyuki,

Thank you for the additional information.

Unfortunately, SciChart is only able to zoom until the X or Y Axis VisibleRange Max-Min is approximately 1E-12.

This is because all calculations within SciChart are done using 64-bit Double precision variables, and the limit of precision for Double in C# .NET is 15-16 decimal places. We need some precision to do the calculations so we have found that SciChart is usually stable up to VisibleRange Max-Min = 1E-12 but not smaller than that.

There is no 80 or 128-bit Long Double type in C#, only in C++. There is 128-bit Decimal type but this is not a floating point number type and it cannot hold the same dynamic range as C# Double can, so it is not possible to perform our calculations internally with Decimal.

Unfortunately we don’t have a workaround to zoom deeper than 1E-12. Scaling your data won’t work as you run in to the same problem – the limit of precision of C# Double type.

Sorry I can’t be more help at this time,

Best regards,
Andrew

  • kewur
    I don't know if this will help but maybe he can multiply everything with 1000 and display the graph like that while overriding the AxisLabelsProvider.
  • Andrew
    It might work, but it might not. In C# double the precision limit is 15-16 significant figures, not decimal places, so multiplying by 1,000 still has the same problem if you zoom in to a limit where VisibleRange Max-Min is less than 1E-12
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.