Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
quinncurtis
Posted - 26 Oct 2020 : 10:54:44 Is there a possible way for me to extract the calculated data (Mean, Range & Sum) which is shown in the tooltip for each point in the chart?
1 L A T E S T R E P L I E S (Newest First)
quinncurtis
Posted - 26 Oct 2020 : 10:55:13 You can extract the both the most recent (current) value for each statistic, or the value at any sample interval.
var chartdata = xbarrchart.ChartData; . . // Input and process data . if (chartdata) { // current calculated values var mean = chartdata.getCalculatedValueRecord(0).CalculatedValue; var range = chartdata.getCalculatedValueRecord(1).CalculatedValue; var sum = chartdata.getCalculatedValueRecord(2).CalculatedValue;
// calculated values for a given sample interval var interval = 22; mean = chartdata.getCalculatedValueRecord(0).CalculatedValues[interval]; range = chartdata.getCalculatedValueRecord(1).CalculatedValues[interval]; sum = chartdata.getCalculatedValueRecord(2).CalculatedValues[interval];