Repository navigation
Display the stack values inside the stacks #32516
Unanswered
Vinay3199
asked this question in
Q&A / Help
Replies: 1 comment
|
Hello @Vinay3199! I'm here to help you with any bugs, questions, or contributions you may have. Let's tackle this issue together! To display the stack values inside the stacks in a stacked bar chart in Superset, you need to adjust the const barSeries: BarSeriesOption[] = [
{
...seriesProps,
name: 'Resulting Cost',
label: {
show: true,
position: 'inside', // Change from 'top' to 'inside'
formatter: seriesformatter,
},
data: resultingCostData,
},
{
...seriesProps,
name: 'Margin',
label: {
show: true,
position: 'inside', // Change from 'top' to 'inside'
formatter: seriesformatter,
},
data: marginData,
},
];This change will ensure that the labels are displayed inside the bars of the stacked bar chart [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
3.1.3 superset version
3.10.14 python version
I am facing issues with stacked bar charts in Superset. I need to display the stack values inside the stacks instead of on top of the chart.
All reactions