This is an example of a basic Bipolar chart. The chart is showing stacked
data, using the labelsAbove
option (that's the labels that appear next to each stack), the center labels are bolded and it has a title and subtitle.
<script src="RGraph.svg.common.core.js"></script> <script src="RGraph.svg.bipolar.js"></script>Put this where you want the chart to show up:
<div style="padding: 15px"> <div style="width: 600px; height: 500px" id="chart-container"></div> </div>This is the code that generates the chart: