I am trying to render ExtJS Line chart markers as square but the shape is always circle. Below is my code :
renderer: function (sprite, record, attr, index, {
return Ext.apply(attr, {
type: 'square',
size: 4,
fill: '#FFF'
});
}
I have sample implementation here : https://fiddle.sencha.com/#fiddle/nq4
Please help! Thanks in advance.
you can use markerConfig to adjust the marker attributes.
markerConfig: {
type: 'square',
height:10,
width:10,
'fill': '#fff'
}
Here is a fiddle demonstrating
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With