jQuery UI Widgets Forums Chart unitInterval dynamic

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • unitInterval dynamic #60830

    Tyl
    Participant

    Hi,

    I use jqx-chart with angularjs.
    I display Volume values and Xaxis is time.
    As my values may change every time I update the chart, I would need to be able to dynamically change the unitInterval to adapt the valueAxis lines at each update.

    How can I do that ?
    All my tries failed.

    unitInterval dynamic #60831

    Peter Stoev
    Keymaster

    Hi Tyi,

    Did you try to dynamically change the unitInterval? Did you refresh the Chart after changing some of its settings?

    Regards,
    Peter

    unitInterval dynamic #60854

    Tyl
    Participant

    Hi Peter,

    Yes I have tried to change the unitInterval value and call the refresh() function but it does not work for me.
    Anyway the unitInterval automatically adapts itself if I don’t set a particular value, si I no longer try to force its value.

    unitInterval dynamic #60857

    Peter Stoev
    Keymaster

    Hi Tyi,

    When you set the unitInterval and call the “refresh” method of jqxChart, the Chart will be redrawn using the new unitInterval value. In general, this means that if the refresh method is called correctly, there should not be a problem.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.