I am creating a bar chart with two measures: GST and TotalBill.
If I use normal stacking both the values get on top of each other.
like if GST = 20 and TotalBill = 100 then the bar length will be 120 as shown in the attached image.
But I want the bar length to be 100 and GST measure inside that.
Discussion posts and replies are publicly visible
The chartSeries data is provided programmatically. Since in your use case, the stacked bar is meant to show the components of the bill, you could construct one of the Chart Series to be the GST component, and the other Chart Series to be the Remaining Bill component (instead of Total Bill).