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.
-
Author
-
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).
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,
DimitarjQWidgets team
http://www.jqwidgets.com/Thank you, I found a good way to calculate the max value in PHP and passing it to a JavaScript variable.
-
AuthorPosts
You must be logged in to reply to this topic.