jQWidgets Forums

jQuery UI Widgets Forums Chart Stop Y-Axis Scaling on legend toggle

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 10 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Stop Y-Axis Scaling on legend toggle #67867

    Mallikarjun Baddur
    Participant

    Hi,

    I am using JQWidgets version 3.5.0.

    I am using multiple series chart(stackedline) and each stack contains different blocks of particular category.

    As per your design Y-Axis of one stack will be hidden and other will be visible and that will used as common Axis for both stacks. On Initial chart render it is fine.

    When a legend (hidden Y-Axis stack legend) is toggled (i.e off) chart is rendering inaccurate data since corresponding Y-Axis is re-scaling which is hidden.

    How can I solve this?

    One way is stop re-scaling of Y-Axis on legend toggle. How can we do this using code?

    Thanks,
    Mallikarjun

    Stop Y-Axis Scaling on legend toggle #67877

    Peter Stoev
    Keymaster

    Hi Mallikarjun,

    I think you should consider upgrading to the current version 3.7. Multiple bug fixes and new features are available since ver. 3.5.0. In general, to stop auto-scaling, set min, max, and unitInterval of your Axis.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.