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: RELEASE_NOTES.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
* Chart.Grid: Uses the grid object of plotly.js to generate various types of subplot grids
8
8
* Chart.SingleStack: Basically Chart.Grid with one Column
9
9
* Add Chart.withColorBar and Chart.withColorBarStyle to change the appearance of colorbars
10
-
10
+
*[Add Sunburst Chart]()
11
11
12
12
### 1.2.2 - Apr 9 2020
13
13
*[Opening Charts is now more or less OS agnostic](https://github.com/muehlhaus/FSharp.Plotly/commit/f6e3dceade085e43e7e56b478b9cf7b533a4fe55)
Copy file name to clipboardExpand all lines: src/FSharp.Plotly/Chart.fs
+49Lines changed: 49 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1267,3 +1267,52 @@ type Chart =
1267
1267
)
1268
1268
)
1269
1269
|> GenericChart.ofTraceObject
1270
+
1271
+
/// Creates a sunburst chart. Visualize hierarchical data spanning outward radially from root to leaves.
1272
+
/// Applies the styles of sundburst plot to TraceObjects
1273
+
///
1274
+
/// Parameters:
1275
+
///
1276
+
/// labels: Sets the labels of each of the sectors.
1277
+
///
1278
+
/// parents: Sets the parent sectors for each of the sectors. Empty string items '' are understood to reference the root node in the hierarchy. If `ids` is filled, `parents` items are understood to be "ids" themselves. When `ids` is not set, plotly attempts to find matching items in `labels`, but beware they must be unique.
1279
+
///
1280
+
/// Ids: Assigns id labels to each datum. These ids for object constancy of data points during animation.
1281
+
///
1282
+
/// Values: Sets the values associated with each of the sectors. Use with `branchvalues` to determine how the values are summed.
1283
+
///
1284
+
/// Text: Sets text elements associated with each sector. If trace `textinfo` contains a "text" flag, these elements will be seen on the chart. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
1285
+
///
1286
+
/// Branchvalues: Determines how the items in `values` are summed. When set to "total", items in `values` are taken to be value of all its descendants. When set to "remainder", items in `values` corresponding to the root and the branches sectors are taken to be the extra part not part of the sum of the values at their leaves.
1287
+
///
1288
+
/// Level: Sets the level from which this trace hierarchy is rendered. Set `level` to `''` to start from the root node in the hierarchy. Must be an "id" if `ids` is filled in, otherwise plotly attempts to find a matching item in `labels`.
1289
+
///
1290
+
/// Maxdepth: Sets the number of rendered sectors from any given `level`. Set `maxdepth` to "-1" to render all the levels in the hierarchy.
1291
+
///
1292
+
/// Colorbar: Sets the Colorbar for the chart
1293
+
///
1294
+
///Colors: Sets the color of each sector of this trace. If not specified, the default trace color set is used to pick the sector colors.
/// Applies the styles of sundburst plot to TraceObjects
1174
+
///
1175
+
/// Parameters:
1176
+
///
1177
+
/// labels: Sets the labels of each of the sectors.
1178
+
///
1179
+
/// parents: Sets the parent sectors for each of the sectors. Empty string items '' are understood to reference the root node in the hierarchy. If `ids` is filled, `parents` items are understood to be "ids" themselves. When `ids` is not set, plotly attempts to find matching items in `labels`, but beware they must be unique.
1180
+
///
1181
+
/// Ids: Assigns id labels to each datum. These ids for object constancy of data points during animation.
1182
+
///
1183
+
/// Values: Sets the values associated with each of the sectors. Use with `branchvalues` to determine how the values are summed.
1184
+
///
1185
+
/// Text: Sets text elements associated with each sector. If trace `textinfo` contains a "text" flag, these elements will be seen on the chart. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels.
1186
+
///
1187
+
/// Branchvalues: Determines how the items in `values` are summed. When set to "total", items in `values` are taken to be value of all its descendants. When set to "remainder", items in `values` corresponding to the root and the branches sectors are taken to be the extra part not part of the sum of the values at their leaves.
1188
+
///
1189
+
/// Level: Sets the level from which this trace hierarchy is rendered. Set `level` to `''` to start from the root node in the hierarchy. Must be an "id" if `ids` is filled in, otherwise plotly attempts to find a matching item in `labels`.
1190
+
///
1191
+
/// Maxdepth: Sets the number of rendered sectors from any given `level`. Set `maxdepth` to "-1" to render all the levels in the hierarchy.
0 commit comments