I have a grid and a line chart. Both of them use one store. I use grid column renderer() function which looks like this:
renderer: function(value){
return value;
}
to change the data depending on some conditions(delta, ratios etc). I also want to reflect these actions in my chart. I guess I should set series renderer() but it doesn't have value as parameter:
renderer: function (sprite, config, rendererData, index) {
if (config.type === 'marker') {
return { strokeStyle: (index % 2 === 0 ? 'red' : 'black') };
}
}
Is it possible to implement rendering such as in grid to change my plot but without changing actual data in store?