Forum Discussion
2 Stacked 100% Chart
- 4 years ago
Thanks for providing the data. This turned out to be more difficult than I initially thought. I built in one way with Charticulator and two ways with Deneb. I had to learn a few new things for the Deneb ones, so it was time well spent (and good content for an upcoming video). Below are two screen shots, and attached in the pbix file so you can get the code (if you like one of the version). They all could use some more formatting, but the harder parts are done.
Charticulator
Deneb (approaches with "fold" and "repeat"/"layer" look the same)
Pat
mahoneypat Can I ask for 1 more favor. How do I create little space between those 2 graphs? Just a little bit of line separating both the bars.
Thanks again!
RK
You can do that in the Deneb visuals with paddingInner and paddingOuter. For example, on the Fold version of Deneb, you can add this syntax to the "xOffset" part.
"xOffset": {
"field": "key",
"sort": [
"Pct of Total",
"Pct of Bonus"
],
"scale": {
"paddingInner": 0.05,
"paddingOuter": 0
}
},
If you went with the Charticulator version, I believe it would require adding another Guide between the bars (but I would use the Deneb one for this use case).
Pat
- Anonymous4 years agoNot applicable
Thanks mahoneypat I figured it out in Charticulator by increasing the Line Width.
I will learn Deneb next. Thanks for all of your help!!!