You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -93,10 +93,10 @@ const myData = {
93
93
<zingchart data={myData}></zingchart>
94
94
```
95
95
96
-
### id[string] (optional)
96
+
### `id`[string] (optional)
97
97
The id for the DOM element for ZingChart to attach to. If no id is specified, the id will be autogenerated in the form of zingchart-react-#
98
98
99
-
### series [array] (optional)
99
+
### `series`[array] (optional)
100
100
Accepts an array of series objects, and overrides a series if it was supplied into the config object. Varries by chart type used - Refer to the ZingChart documentation for more details.
101
101
102
102
@@ -113,20 +113,19 @@ const mySeries = [
113
113
114
114
```
115
115
116
-
117
-
### width [string or number] (optional)
116
+
### `width`[string or number] (optional)
118
117
119
118
The width of the chart. **Defaults to 100%**.
120
119
121
-
### height [string or number] (optional)
120
+
### `height`[string or number] (optional)
122
121
123
122
The height of the chart. **Defaults to 480px**.
124
123
125
-
### theme [object] (optional)
124
+
### `theme`[object] (optional)
126
125
127
126
The theme or 'defaults' object defined by ZingChart. More information available here: https://www.zingchart.com/docs/api/themes
128
127
129
-
### props[string] (optional)
128
+
### `output`[string] (optional)
130
129
131
130
The render type of the chart. **The default is `svg`** but you can also pass the string `canvas` to render the charts in canvas.
0 commit comments