Hi,
I need to create a bar, line or scatter plot where the data points have individual error values. Is this possible? I tried something like below, but this obviously did not work since the value in the errorBars only takes a number but not an array.
Thanks
Martin
$(this.elt.nativeElement).jqChart({
title: { text: 'Error Bars' },
animation: { duration: 1 },
shadows: {
enabled: true
},
series: [
{
type: 'column',
title: 'Series 1',
fillStyle: '#418CF0',
data: [['A', 33], ['B', 57], ['C', 33],
['D', 12], ['E', 35], ['F', 7], ['G', 24]],
errorBars: {
calculationType: 'fixedValue', // 'standardError', 'standardDeviation', 'percentage' or 'fixedValue'
displayType: 'both', // 'both', 'upper' or 'lower'
strokeStyle: 'black',
lineWidth: 2,
capLength: 10,
value: [10, 5, 1, 20, 2, 4]
}
}
]
});