PDA

View Full Version : How to avoid chart axis label get distorted in extjs4.1



vijayakumar84
18 Oct 2013, 11:23 PM
Hi
I am getting the problem in my application chart axis scale and label get distorted for some times.Can anybody tell how to avoid this.I am using extjs4.1 version


Thanks

scottmartin
21 Oct 2013, 12:50 PM
Do you have an example of this that we can see? Have you tried upgrading to latest Ext4?

Scott.

vijayakumar84
28 Oct 2013, 1:33 AM
Hi Scott
In my application there is a toggle button .if user is in grid view.We are hiding the chart view .If the chart is in hide state .We are updating the chart series at the time chart label and axis get distorted .Can you tell how to avoid this?

Updating the chart series

var Chart1= this.getSingleChart1();
Chart1.series.first().label.field = Chart1Value;
Chart1.series.first().yField = Chart1Value;
Chart1.series.first().drawSeries();
Chart1.refresh();