Update pie docs to reflect label order change
This commit is contained in:
parent
053c966d5f
commit
98f4c2d3ae
|
@ -28,7 +28,7 @@ Drawing a pie chart is really simple in mermaid.
|
||||||
- Start with `pie` keyword to begin the diagram
|
- Start with `pie` keyword to begin the diagram
|
||||||
- `showData` to render the actual data values after the legend text. This is **_OPTIONAL_**
|
- `showData` to render the actual data values after the legend text. This is **_OPTIONAL_**
|
||||||
- Followed by `title` keyword and its value in string to give a title to the pie-chart. This is **_OPTIONAL_**
|
- Followed by `title` keyword and its value in string to give a title to the pie-chart. This is **_OPTIONAL_**
|
||||||
- Followed by dataSet
|
- Followed by dataSet. Pie slices will be ordered clockwise in the same order as the labels.
|
||||||
- `label` for a section in the pie diagram within `" "` quotes.
|
- `label` for a section in the pie diagram within `" "` quotes.
|
||||||
- Followed by `:` colon as separator
|
- Followed by `:` colon as separator
|
||||||
- Followed by `positive numeric value` (supported upto two decimal places)
|
- Followed by `positive numeric value` (supported upto two decimal places)
|
||||||
|
|
|
@ -19,7 +19,7 @@ Drawing a pie chart is really simple in mermaid.
|
||||||
- Start with `pie` keyword to begin the diagram
|
- Start with `pie` keyword to begin the diagram
|
||||||
- `showData` to render the actual data values after the legend text. This is **_OPTIONAL_**
|
- `showData` to render the actual data values after the legend text. This is **_OPTIONAL_**
|
||||||
- Followed by `title` keyword and its value in string to give a title to the pie-chart. This is **_OPTIONAL_**
|
- Followed by `title` keyword and its value in string to give a title to the pie-chart. This is **_OPTIONAL_**
|
||||||
- Followed by dataSet
|
- Followed by dataSet. Pie slices will be ordered clockwise in the same order as the labels.
|
||||||
- `label` for a section in the pie diagram within `" "` quotes.
|
- `label` for a section in the pie diagram within `" "` quotes.
|
||||||
- Followed by `:` colon as separator
|
- Followed by `:` colon as separator
|
||||||
- Followed by `positive numeric value` (supported upto two decimal places)
|
- Followed by `positive numeric value` (supported upto two decimal places)
|
||||||
|
|
Loading…
Reference in New Issue