Pre loader

Y-axis visibility range bug

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
1

Hello,

we upgraded the version from 3.4.652 to 3.5.687, and problems with the Y-axis appeared on the charts. When moving the overviewChart sliders or using the scroll wheel to change the visibleRange, the Y-axis fails to set the min and max values correctly, resulting in the default values of 0 and 10 being displayed (Error: Argument max must be a real number (not infinite, not NAN)). We didn’t change anything in the code. I checked the data we provide, and all variables are of type Number, there are no other random things.
I’ll just include the axis parameters we use.

            const yAxis = new NumericAxis(wasmContext, {
            autoRange: EAutoRange.Always,
            growBy: new NumberRange(0.1, 0.1),
            drawMajorBands: false,
            drawMajorTickLines: false,
            drawMinorGridLines: false,
            drawMinorTickLines: false,
            labelStyle: {
                fontSize: 11,
                fontFamily: 'Open Sans, sans-serif',
                padding: new Thickness(0, 3, 0, 0),
                color: this.theme.lineChartColor,
                alignment: ELabelAlignment.Right,
            },
            maxAutoTicks: 7,
            axisAlignment: EAxisAlignment.Right,
            labelProvider: this.getDynamicValueLabelProvider(),
            isVisible: false
        });

        const yAxisVolume = new NumericAxis(wasmContext, {
            id: USER_CHART.Y_AXIS_VOLUME_ID,
            growBy: new NumberRange(0, 4),
            isVisible: false,
            autoRange: EAutoRange.Always,
            allowFastMath: true,
        });

https://ibb.co/tL5HgCz – in the screenshot, the incorrect axes are on the left side – sometimes only the volume axis (invisible), and in another case, both axes. The correct charts are on the right side.

Best regards,
Kamil

Version
3.5.687
  • Jim Risen
    Hello, I wasn’t able to reproduce the issue. We’ll need more input from your side. The best way to report a bug is to send us a working sample where we can reproduce it. Then, we can easily define the issue and promptly take further measures. Our demo website (https://demo.scichart.com) allows you to export a selected example to a sandbox (CodeSandbox button at the top right corner) and edit/share it online.
  • Kamil Macura
  • Jim Risen
    Yes, I see. We are investigating it.
  • David Burleigh
    There was indeed a bug with Y range when using resampled data with a category x axis. This is fixed in Dev and should be released on Monday
  • You must to post comments
0
0

This issue is fixed in v3.5.706 just released. Full changelog is at https://www.scichart.com/changelog/scichart-js/

Regards
David

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.