Rank: Advanced Member
Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered Joined: 1/3/2011(UTC) Posts: 483
Thanks: 0 times Was thanked: 87 time(s) in 87 post(s)
|
As I can see, you need to create a separate chart for each sell. Here is an example how to customize the chart: Code:<script lang="javascript" type="text/javascript">
$(document).ready(function () { $('#jqChart').jqChart({ legend: { visible: false }, border: { visible: false }, axes: [ { location: 'left', lineWidth: 0, majorTickMarks: { visible: false }, majorGridLines: { visible: false }, labels: { visible: false }, margin: 0 }, { location: 'bottom', lineWidth: 0, majorTickMarks: { visible: false }, majorGridLines: { visible: false }, labels: { visible: false }, margin : 0 } ], series: [ { type: 'stacked100Bar', title: 'Stacked 1', data: [62], pointWidth : 1, labels: {} }, { type: 'stacked100Bar', title: 'Stacked 2', data: [56], pointWidth: 1, labels: {} }, { type: 'stacked100Bar', title: 'Stacked 3', data: [33], pointWidth: 1, labels: {} } ] }); });
</script>
</head> <body> <div> <div id="jqChart" style="width: 500px; height: 100px;"></div> </div> </body> Best Regards, Dragan Matek jqChart Inc.
|
1 user thanked Dragan for this useful post.
|
|