Search code examples
sencha-touchsencha-charts

Sencha Touch chart - How to add label/value in column chart


I am using Sencha Touch charts 1.0.0 for my project. I would like to add values on each bar in the column chart. Is is possible to do ?

For example, see the image: I would like to add the values for each bar.

Sample chart

Any help appreciated.


Solution

  • just add this in yoour series config

     label: {
                    display: 'outside', 
                    field: 'score',
                    orientation: 'horizontal', // 'vertical'
                    text-anchor': 'middle'
                }