PDA

View Full Version : [CLOSED] Column Chart - Bar Title Not aligned



amitpareek
Jun 04, 2013, 11:10 AM
Hi,
Load the following example :
http://examples2.ext.net/Examples/Chart/Column/Basic/

Type the following :
App.Chart1.store.getAt(0).set("Data1","4340");

Its off center. And for that sake u will notice all the bars title text is left aligned.

Daniil
Jun 04, 2013, 1:17 PM
Hi @amitpareek,

Please remove:

TextAnchor="middle"

amitpareek
Jun 04, 2013, 3:34 PM
Fixed. Thanks!

amitpareek
Jun 04, 2013, 3:37 PM
What does it actually mean? I cant find it in ExtJS docs.

Baidaly
Jun 05, 2013, 12:00 AM
Hello!

Please, read the following page: https://developer.mozilla.org/en-US/docs/SVG/Attribute/text-anchor

Daniil
Jun 05, 2013, 5:30 AM
Yes, it is possible to apply to labels some style attributes this way. They are applied to a <text> tag (if it is not overridden internally).