[docs] update sidebar

This commit is contained in:
Prateeksha Singh 2018-05-15 17:36:33 +05:30
parent 7dad65fd61
commit fc874a76f1
5 changed files with 18 additions and 12 deletions

View File

@ -3,12 +3,11 @@
* Axis charts * Axis charts
* [A basic chart](basic/basic_chart.md) * [A basic chart](basic/basic_chart.md)
* [Adding more datasets](basic/multiple_datasets.md)
* [Trends and Region Charts](basic/trends_regions.md) * [Trends and Region Charts](basic/trends_regions.md)
* [Adding more datasets](basic/multiple_datasets.md)
* Aggregation Charts * Aggregation Charts
* []() * [Aka Sliced Diagrams](basic/aggr_sliced_diags.md)
* []()
* Update data * Update data
* [Single Points]() * [Single Points]()
@ -19,15 +18,14 @@
* [Event hooks]() * [Event hooks]()
* Heatmap * Heatmap
* []() * [Day-based Month-wise data](basic/heatmap.md)
* []()
* Exporting * Exporting
* []() * [Image Files]()
* API * Reference
* [Configuration]() * [Configuration]()
* [Methods]() * [API]()
* [ChangeLog]() * [ChangeLog]()
* [Wrappers]() * [Wrappers]()

View File

@ -0,0 +1 @@
## Sliced Diagrams

1
docs/basic/heatmap.md Normal file
View File

@ -0,0 +1 @@
## Day-based Month-wise data

View File

@ -6,9 +6,13 @@ A chart can have multiple datasets. In an axis chart, every dataset is represent
data: { data: {
labels: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], labels: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
datasets: [ datasets: [
{ name: "Dataset 1", values: [18, 40, 30, 35, 8, 52, 17, -4] }, { name: "Dataset 1", values: [18, 40, 30, 35, 8, 52, 17, -4] },
{ name: "Dataset 2", values: [30, 50, -10, 15, 18, 32, 27, 14] } { name: "Dataset 2", values: [30, 50, -10, 15, 18, 32, 27, 14] }
] ]
}, }
``` ```
<div class="demo" id="multi-dataset-line-bar"></div> <div class="demo" id="multi-dataset-line-bar"></div>
All the `lineOptions` and `barOptions` apply to mutliple datasets as well.
In [Aggregation Charts]() however, instead of being rendered individually, each data point in aggregated accross every dataset. We'll cover those next.

View File

@ -6,4 +6,6 @@ lineOptions: {
}, },
``` ```
<div class="demo" id="line-trends-region-toggle"></div> <div class="demo" id="line-trends-region-toggle"></div>
Next up, we'll see how multiple datasets play out in charts.