0
Ist es möglich, die Formatierung der negativen Y-Achse in fusioncharts wie im angehängten Bild gezeigt zu tun?Fusion Charts - Negative Y-Achse Format
Grüße, Tud.
Ist es möglich, die Formatierung der negativen Y-Achse in fusioncharts wie im angehängten Bild gezeigt zu tun?Fusion Charts - Negative Y-Achse Format
Grüße, Tud.
Ja natürlich
Sie können das labelFontColor propertie die Beschriftung der Daten Farbe einzustellen. Das Problem ist, dass seit der Version 3.5.0 eingeführt wurde (Source).
Hier ist ein JSFIDDLE Beispiel.
FusionCharts.ready(function() {
var topStores = new FusionCharts({
type: 'bar2d',
renderAt: 'chart-container',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Positive/negative label data costumising",
"yAxisName": "Sample",
},
"data": [
{
"labelfontcolor": "FF0000",
"label": "This is a negative value",
"value": "-200"
},
{
"label": "A positive value",
"value": "200"
},
{
"label": "Another positive value",
"value": "100"
}
]
}
})
.render();
});