It can be something like:
Code:
$('#jqChart').bind('shapeRendering', function (e, shape) {
var context = shape.context;
var index = context.index;
if (index == 0) {
return;
}
var data = context.series.arrData;
var previousData = data[index - 1];
// previousData[0] is time
// previousData[1] is high
// previousData[2] is low
// previousData[3] is open
// previousData[4] is close
if (context.high > previousData[1]) {
shape.strokeStyle = 'yellow';
}
});
Best,
Ivan Petrov
jqChart Inc.