There is no straight forward settings to do this. You will have to override the renderer and provide your custom styling to achieve the offset effect. The Ext.chart.series.Series
does have a renderer
method.
The method takes five parameters:
- sprite - A class with all sprite information.
- record - The current record being rendered.
- attributes - Attributes used of the drawing.
- index - index of the record being processed.
- store - store used for the chart.
You need to check if your record contains a null value. If so, you need to modify the attributes object with appropriate values and return it back. You can view the default renderer method from the source code.
renderer: function(sprite,record,attributes,index,store) {
//Modify the attributes object according to your needs
return attributes;
},
But I couldn't come up with a correct logic to modify the drawing values stored in attributes class.