Stacked Bar Chart [Deprecated]
Stacked bar chart visualizes a horizontal representation of stacked bar charts. Stacked bar charts are best for comparison purposes
How to display stacked bar chart using Bunifu Dataviz
Simply locate Bunifu Dataviz control in your toolbox and drag it to the location on your form where you would like to display it.
We will use button click event handler to display our chart called render_stacked_bar
In order to display stacked bar chart we need the following controls:
Bunifu Data Viz - This is the container for our chart
Bunifu Canvas - This is the middle layer between the data viz (container) and the dataset
Bunifu Data Point - This will contain the data that we want to represent as pairs of X and Y coordinates
Bunifu Stacked Bar simply works by creating 2 data point objects, one for the “low” set of points and one for the “high” set of points. The control will know automatically to adjust the width of the lines to match the specified data points
On running the code you should see something like this:
That's it!
We hope Bunifu Dataviz will help you bring out the best data visualization for your data in your application.
Should you have feedback or suggestions please send us via chat on the bottom right corner of the screen.
Last updated