Forum Discussion
Custom visual made with Charticulator not respecting scale
- 6 years ago
Hi Anonymous,
At a glance, this sometimes happens when an object isn't snapped to a visual guide, however in order to investigate the issue, we'll need the raw file from Charticulator rather than the compiled Power BI custom visual. I did check the link in your OP but could only find the workbook and .pbiviz file.
If you're able to provide the .chart file, I can take a look. If you're not sure how to do this, please review the Download as Chart section of their doc.
Thanks,
Daniel
Hi Anonymous & Anonymous
I had a go at this, using an example on another thread. The generated viz does seem to scale as I'd expect when I resize in Power BI Desktop...
...so I'm hoping that Anonymous's version may be a placement issue w/guides as originally assumed. Still happy to take a look at this if you want to attach the .chart file as previously mentioned.
I've attached a copy of my workbook, generated custom visual, and the .chart file for you to load into Charticulator as a starting point, if you wish to have a go at working it to your particular situation. You'll find these just underneath this post's content below.
All the best,
Daniel
EDIT: Looks like .chart files are not allowed and broke my post. I've attached all 3 files in a .zip instead.
Hi again dm-p
I followed your tutorial for nested chart and understand the nested part, however I do not get how I can create the kind of stacked column charts that are in your zip.file, which is what I´m after. I tried to solve it by just replacing the data that you have used with my, but unfortunately it never updates, it just says "Working" when I do that. So, my question is if you may have published a tutorial also for the chart in the zip.file so I can follwo the steps and create it myself from scratch? I did not manage to figure out the steps to do on my own unfortunately...
Thankful for any help!
/Helena
- dm-p6 years agoSuper User
Hi Anonymous
Unfortunately, no, I haven't written-up a tutorial on this one as they are quite time-intensive. As the chart has explicit grouping based on my sample data, it's likely that if your data contains different fields then the gropuing expressions aren't working and the tool just shows 'working'.
In terms of how I reproduced it with the same data I used (which you might be able to adapt for your data), here's the high-level process. I'm not going to spend time on formatting, just getting things where they need to be:
- Drag region to the visual's x-axis
- Set the plot segment to group by region, so you get 3 glyphs on the canvas
- Add a nested chart to the glyph
- Edit the nested chart
- In the nested chart:
- Drag source to the visual's x-axis - this will group the glyphs within the nested chart
- Change the plot segment's layout to stack Y and reduce its gap to 0%
- Add a rectangle mark to the glyph
- Drag amount to the glyph height
- Drag status to the shape fill colour
- Drag source to the visual's x-axis - this will group the glyphs within the nested chart
- Save the nested chart and check the main chart - it should be as intended (in terms of layout)
After this point, you can clean-up the layout as needed. Hopefully this helps clarify how I put the original together.
Regards,
Daniel
- Drag region to the visual's x-axis