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: powerapps-docs/developer/model-driven-apps/understand-charts-underlying-data-chart-representation.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,40 +90,42 @@ Charts display data visually by mapping textual values on two axes: horizontal (
90
90
91
91
For more sample data description XML strings, see [Sample Charts](sample-charts.md).
92
92
93
-
## Use the presentation description XML string to specify data representation in web client
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
-
In web client, presentation description XML uses the .NET API schema and in the runtime it uses the .NET chart library to render charts. 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.
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
100
99
101
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.
100
102
101
103
The following table shows how different properties behave in Unified Interface:
102
104
103
105
|Property|Behavior in Unified Interface|
104
106
|--------|------------------|
105
-
|[PalletCustomColor](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.chart.palettecustomcolors?view=netframework-4.8)|The difference is how the color pattern is picked in Unified Interface. It follows the priority as shown below: <br/><br/> - Renders the color defined in the [Series](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.series?view=netframework-4.8) node. <br/> - If the color pallet is specified, each chart picks the color from the color pallet. <br/> - If none is specified, Unified Interface picks up the default color pallet.|
107
+
|[PalletCustomColor](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.chart.palettecustomcolors?view=netframework-4.8)|The difference is how the color pattern is picked in Unified Interface. It follows the priority as shown below: <br/> - Renders the color defined in the [Series](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.series?view=netframework-4.8) 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.|
106
108
|[CharType](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.series.charttype?view=netframework-4.8#System_Web_UI_DataVisualization_Charting_Series_ChartType)|The following charts types are only supported.<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|
107
109
|[LegendText](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.datapointcustomproperties.legendtext?view=netframework-4.8)| This property is not supported for funnel and pie charts. For funnel and pie charts, the legend displays each individual data point's value in a series, instead of displaying the name.|
108
-
|[YAxisType](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.series.yaxistype?view=netframework-4.8)|In Unified Interface, only `Secondary` Y-axis type is supported and not for X-axis. For example, if you create a multiple series, by default, `YAxisType=Secondary` is added to the second series of the chart.|
109
-
|[LabelFormat](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.datapointcustomproperties.labelformat?view=netframework-4.8)|It supports the [Chart supported numeric format](#unified-interface-chart-supported-numeric-format).|
110
-
|[LabelStyle.Format](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.labelstyle.format?view=netframework-4.8)|It supports the [Chart supported numeric format](#unified-interface-chart-supported-numeric-format).|
110
+
|[YAxisType](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.series.yaxistype?view=netframework-4.8)|In Unified Interface, only `Secondary` Y-axis type is supported and not the `Secondary` X-axis. For example, if you create a multiple series, by default, `YAxisType=Secondary` is added to the second series of the chart.|
111
+
|[LabelFormat](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.datapointcustomproperties.labelformat?view=netframework-4.8)|It supports the [Chart supported numeric format](#supported-numeric-format-for-charts-in-unified-interface).|
112
+
|[LabelStyle.Format](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.labelstyle.format?view=netframework-4.8)|It supports the [Chart supported numeric format](#supported-numeric-format-for-charts-in-unified-interface).|
111
113
|[IsReversed](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.axis.isreversed?view=netframework-4.8)|This property is only supported for X-axis.|
112
114
|[Interval](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.axis.interval?view=netframework-4.8#System_Web_UI_DataVisualization_Charting_Axis_Interval)|This property is only supported for Y-axis.|
113
115
|[Maximum](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.axis.maximum?view=netframework-4.8)|This property is only supported for Y-axis.|
114
116
|[Minimum](https://docs.microsoft.com/dotnet/api/system.web.ui.datavisualization.charting.axis.minimum?view=netframework-4.8)|This property is only supported for Y-axis.|
115
117
|||
116
118
117
-
### Unified Interface chart supported numeric format
119
+
### Supported numeric format for charts in Unified Interface
118
120
119
121
|Formatting values|Description|
120
122
|------------|----------------|
121
123
|`#,0`| No scaling, No decimals, leading zero|
122
124
|`#,0,.##K`|Thousands, up to 2 decimals, leading zero|
123
125
|`#,0,,.##M`|Millions, up to 2 decimals, leading zero|
124
126
|`#,0,,,.##B`|Billions, up to 2 decimals, leading zero|
125
-
|`C`|Currency with default decimals|
126
-
|`C0`| Currency with no decimals|
127
+
|`C`|Currency with default decimals|
128
+
|`C0`| Currency with no decimals|
127
129
|`C2`|Currency with 2 decimals|
128
130
|`F0`|Fixed point|
129
131
|`#,0;(#,0);' '`| No scaling, no decimals, leading zero, negative value shown in braces, suppress zeros|
0 commit comments