jQWidgets Forums

jQuery UI Widgets Forums Chart maxValue in multiple seriesGroups

This topic contains 2 replies, has 2 voices, and was last updated by  HangWire 11 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • maxValue in multiple seriesGroups #26074

    HangWire
    Participant

    If I got multiple seriesGroups

                seriesGroups:
    [
    {
    type: 'rangecolumn',
    valueAxis:
    {
    unitInterval: 0.1,
    minValue: 0,
    maxValue: 'auto',
    displayValueAxis: true,
    description: 'Antwortzeit in s',
    axisSize: 'auto',
    tickMarksColor: '#888888'
    },
    series: [
    {dataFieldFrom: 'SCHWELLENWERT', dataFieldTo: 'SCHWELLENWERT', displayText: 'Schwellenwert'}
    ]
    },
    {
    type: 'stackedcolumn',
    valueAxis:
    {
    unitInterval: 0.1,
    minValue: 0,
    maxValue: 'auto',
    displayValueAxis: true,
    description: 'Antwortzeit in s',
    axisSize: 'auto',
    tickMarksColor: '#888888'
    },
    series: [
    {dataField: 'AWZ', displayText: 'Antwortzeit'},
    {dataField: 'AWZUEBER', displayText: 'Antwortzeitüberschreitung'}
    ]
    }
    ]

    and I set maxValue to ‘auto’ on both they both have different ValueAxes. How can I pass the first ‘auto’ value to the second valueAxis?

    Is it possible to use Javascript variables for maxValue? Is it possible to add values to the maxValue like maxValue: (‘auto’ + 1).

    maxValue in multiple seriesGroups #26079

    Dimitar
    Participant

    Hello HangWire,

    You cannot pass the “auto” value from one valueAxis to another. However, you may set a variable to the maxValue property.

    Best Regards,
    Dimitar

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

    maxValue in multiple seriesGroups #26158

    HangWire
    Participant

    Thank you, I found a good way to calculate the max value in PHP and passing it to a JavaScript variable.

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

You must be logged in to reply to this topic.