Widgets > Chart Widgets > wijbarchart |
The wijbarchart widget allows you to create customized bar and column charts. A Bar chart is an inverted column chart where the category axis is the vertical axis. A Bar/Column chart draws each series as a bar in a cluster. The number of clusters is the number of points in the data. Each cluster displays the nth data point in each series.
Open the .cshtml for the View in which you want to display a wijbarchart. Add a <div>
DOM element like in the following markup:
<div id="barchart">
</div>
Now you need to initialize the wijbarchart widget, which you can do by adding the following script to the .cshtml file:
<script type="text/javascript">
$(document).ready(function () {
$("#barchart").wijbarchart({
});
});
</script>
For more information about wijbarchart, click one of the external links to view our Wijmo wiki documentation: