jQWidgets Forums

jQuery UI Widgets Forums Chart get current valueAxis maxValue in dynamic chart

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  Florian Auer 10 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • Florian Auer
    Participant

    Hey

    If i create a dynamic valueAxis in a chart where minValue and maxValue are set to ‘auto’ and don’t define a unitIntervall, so the chats updates the axis range automatically depending on the changing data source, how can I read out the current values for min and max of the vAxis?
    the settings object gives me only the defaults set on creation.

    
    valueAxis: {
        minValue: 'auto',
        maxValue: 'auto',
        title: { text: options.categoryTitle },
        labels: { horizontalAlignment: 'right' },
        bands: options.bands
    },
    

    Peter Stoev
    Keymaster

    Hi DesMas,

    As the Values are “auto”, you can get only “auto” as result of getting the values. If you’re asking how to get the Chart’s internal calculations, then the answer is no you cannot. You may try to get these from your data source.

    Best Regards,
    Peter Stoev

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


    Florian Auer
    Participant

    Thx for your reply Peter.
    That’s what i thought… Thought of a possibility to aviod the manual calculation outside the chart.

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

You must be logged in to reply to this topic.