Steffen Hiller
5 Nov 2012, 3:09 AM
In Touch Charts 1 you were able to show the exact value of each bar of an item.
There was even a config available to configure if the value should be shown inside or outside the bar, e.g.:
xtype: 'chart',
series: [
{
type: 'bar',
axis: 'bottom',
xField: 'name',
yField: ['field1', 'field2'],
// not possible in ST 2.1 anymore:
label: {
display: 'outside',
field: ['field1', 'field2'],
orientation: 'horizontal'
}
}
]
As of 2.1 RC2 there's only the possibility to configure ONE fieldName via the fieldName config.
Will this feature be gone in 2.1 or will this come back or are there any other ways to accomplish that besides overriding?
There was even a config available to configure if the value should be shown inside or outside the bar, e.g.:
xtype: 'chart',
series: [
{
type: 'bar',
axis: 'bottom',
xField: 'name',
yField: ['field1', 'field2'],
// not possible in ST 2.1 anymore:
label: {
display: 'outside',
field: ['field1', 'field2'],
orientation: 'horizontal'
}
}
]
As of 2.1 RC2 there's only the possibility to configure ONE fieldName via the fieldName config.
Will this feature be gone in 2.1 or will this come back or are there any other ways to accomplish that besides overriding?