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
@@ -88,19 +88,52 @@ Charts display data visually by mapping textual values on two axes: horizontal (
88
88
</categorycollection></datadefinition>
89
89
```
90
90
91
-
For more sample data description XML strings, see [Sample Charts](sample-charts.md).
91
+
For more sample data description XML strings, see [Sample Charts](sample-charts.md).
92
92
93
93
## Use the presentation description XML string to specify data representation
94
94
95
95
The presentation description XML string contains information about the appearance of the chart such as chart title, chart color, and chart type (bar, column, line, and so on). There is no schema definition for this XML string. However, the XML is a serialization of the [Chart](https://msdn.microsoft.com/library/system.web.ui.datavisualization.charting.chart.aspx) class in Microsoft Chart Controls. More information: [Chart Controls](https://go.microsoft.com/fwlink/p/?LinkId=128301)
96
96
97
97
> [!IMPORTANT]
98
-
> In web client, presentation description XML uses the .NET API schema and in the runtime it uses the .NET chart library to render charts. <br/>
99
-
> In Unified Interface, it uses the combination of the legacy chart designer (with .NET chart metadata schema – the presentation xml), and the runtime chart with [Highcharts](https://api.highcharts.com/highcharts/) schema.
98
+
> In Unified Interface, only a subset of properties are supported. More information: [Supported methods and properties in Unified Interface](methods-and-properties-supported-in-unified-interface)
100
99
101
100
You can specify the presentation description XML string while you are creating a chart using the `SavedQueryVisualization.PresentationDescription` or `UserQueryVisualization.PresentationDescription` attribute for the organization-owned or user-owned chart, respectively.
102
101
103
-
The following table shows the methods and properties that are supported in Unified Interface:
102
+
### Example for web client
103
+
104
+
The following is a sample presentation description XML string for web client:
@@ -157,7 +215,7 @@ The root class for the charts.
157
215
|-------------|------------|
158
216
|PaletteCustomColor|Gets or sets an array of custom palette colors. It follows the priority as shown below: <br/> - Renders the color defined in the `Series` node. <br/> - If the color pallet is specified, chart picks the color from the color pallet. <br/> - If none is specified, it picks up the default color pallet.|
@@ -183,6 +252,14 @@ Represents the legend for the chart image.
183
252
|-------------|------------|
184
253
|Enabled| Defines whether the legend is enabled. By default it is set to `True`.|
185
254
255
+
**Example**
256
+
257
+
```xml
258
+
<Legends>
259
+
<LegendEnabled="True"/>
260
+
</Legends>
261
+
```
262
+
186
263
### Series
187
264
188
265
Stores data points and series attributes.
@@ -196,12 +273,33 @@ Stores data points and series attributes.
196
273
|ChartType| An enumeration value that indicates the chart type that is used to represent the series. The default value is Column. It supports the following chart types: <br/> - Column <br/> - StackedColumn <br/> - StackedColumn100 <br/> - Bar <br/> - StackedBar <br/> - StackedBar100 <br/> - Area <br/> - StackedArea <br/> - StackedArea100 <br/> - Line <br/> - Pie <br/> - Funnel <br/> - Tag <br/> - Doughnut <br/> - Point|
197
274
|Color|Gets or sets the color of the data point. For funnel and pie charts, the color property defined in the series node is ignored, but picks the chart color from color palette.|
198
275
|IsValueShownAsLabel|Gets or sets a flag that indicates whether to show the value of the data point on the label.|
276
+
|CustomProperties|Allows users to set `FunnelNeckHeight` and `FunnelNeckWidth` to customize funnel chart's shape. FunnelNeckHeight & FunnelNeckWidth represents the percentage. This parameter is only supported for funnel chart types.|
199
277
|IsVisibleInLegend|Gets or sets a flag that indicates whether the item is shown in the legend.|
200
278
|LabelForeColor|Gets or sets the text color of the label.|
201
279
|LabelFormat|Gets or sets the format of the data point label. More information: [Supported numeric format for charts](#supported-numeric-format-for-charts-in-unified-interface)|
202
280
|LegendText|Gets or sets the text of the item in the legend. For funnel and pie charts, the legend displays each individual data point's value in a series. Instead of displaying the series name as a whole.|
203
281
|YAxisType|Gets or sets the Y-axis type of a series. Only second Y-axis is supported, not second X-axis.|
0 commit comments