- changed status to resolved
Chart Show Percentage - per series/axes
Issue #479
resolved
It would be great to have the possibility to set the “Chart Show Percentage“ option per series and respective axis. In the example below we have a combination of different types of data and we can’t really use this option to make the chart more readable.
"chartOptions": {
"yAxis": [
{
"title": {
"text": "Units",
"style": {
"color": "#B3B3B3"
}
},
"labels": {
"format": "{text}",
"style": {
"color": "#B3B3B3"
}
}
},
{
"title": {
"text": "Price",
"style": {
"color": "#05C3DE"
}
},
"labels": {
"format": "{text}",
"style": {
"color": "#05C3DE"
}
},
"opposite": true
},
{
"title": {
"text": "Margin %",
"style": {
"color": "#F19E53"
}
},
"labels": {
"format": "{value:,.2f}",
"style": {
"color": "#F19E53"
}
},
"opposite": true
}
],
"series": [
{
"color": "#B3B3B3",
"type": "column",
"dataLabels": {
"format": "{point.y:,.0f} ",
"enabled": true,
"style": {
"fontWeight": "bold",
"textOutline": "0px contrast"
}
}
},
{
"yAxis": 1,
"dataLabels": {
"enabled": true,
"format": "{point.y:,.1f}",
"style": {
"fontWeight": "bold",
"textOutline": "0px contrast"
}
},
"type": "spline",
"color": "#05C3DE",
"verticalAlign": "top"
},
{
"yAxis": 2,
"dataLabels": {
"enabled": false,
"format": "{point.y:,.0f}",
"style": {
"fontWeight": "bold",
"textOutline": "0px contrast"
}
},
"type": "spline",
"dashStyle": "shortdot",
"marker": {
"enabled": false
},
"color": "#F19E53",
"verticalAlign": "top"
}
],
"legend": {
"layout": "vertical",
"align": "left",
"x": 80,
"verticalAlign": "top",
"y": 55,
"floating": true,
"backgroundColor": "rgba(255,255,255,0.25)"
}
}
Comments (2)
-
-
- removed milestone
Removing milestone: 2022_Q1 (automated comment)
- Log in to comment
Option will be added to the advanced options GUI in our next (2023.04) release.