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
+72-8Lines changed: 72 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,41 +102,105 @@ You can specify the presentation description XML string while you are creating a
102
102
103
103
The following table shows the methods and properties that are supported in Unified Interface:
104
104
105
-
## Chart
105
+
### AxisX
106
+
107
+
Gets or sets the X-axis type of the series.
108
+
109
+
**Properties**
110
+
111
+
|Property Name| Description|
112
+
|-------------|------------|
113
+
|Enabled|Gets or sets a value that indicates whether an axis is enabled.|
114
+
|LabelStyle Enabled|Gets or sets a flag that indicates whether the label is enabled.|
115
+
|LabelStyle ForeColor|Gets or sets the color of the label.|
116
+
|LabelStyle Format|Gets or sets the formatting string for the label text. More information: [Supported numeric format for charts](#supported-numeric-format-for-charts-in-unified-interface)|
117
+
|LineColor|Gets or sets the line color of an axis.|
118
+
|IsReversed|Gets or sets a flag which indicates whether the axis is reversed.|
119
+
|MajorGrid Enabled|Gets or sets a flag that determines whether major or minor grid lines are enabled.|
120
+
|MajorGrid LineColor|Gets or sets the line color of a grid.|
121
+
|MajorTickMark Enabled|Need description|
122
+
|MajorTickMark LineColor|Need description|
123
+
|Title|Gets or sets the title of the axis.|
124
+
|TitleForeColor|Gets or sets the text color of an axis title.|
125
+
126
+
### AxisY
127
+
128
+
Gets or sets the Y-axis type of the series.
129
+
130
+
**Properties**
131
+
132
+
|Property Name| Description|
133
+
|-------------|------------|
134
+
|AxisY2|Gets or sets an Axis object that represents the secondary Y-axis.|
135
+
|Enabled|Gets or sets a value that indicates whether an axis is enabled.|
136
+
|Interval|Gets or sets the interval of an axis.|
137
+
|LabelStyle Enabled|Gets or sets a flag that indicates whether the label is enabled.|
138
+
|LabelStyle ForeColor|Gets or sets the color of the label.|
139
+
|LabelStyle Format|Gets or sets the formatting string for the label text. More information: [Supported numeric format for charts](#supported-numeric-format-for-charts-in-unified-interface)|
140
+
|LineColor|Gets or sets the line color of an axis.|
141
+
|MajorGrid Enabled|Gets or sets a flag that determines whether major or minor grid lines are enabled.|
142
+
|MajorGrid LineColor|Gets or sets the line color of a grid.|
143
+
|MajorTickMark Enabled|Need description|
144
+
|MajorTickMark LineColor|Need description|
145
+
|Maximum|Gets or sets the maximum value of an axis.|
146
+
|Minimum|Gets or sets the minimum value of an axis.|
147
+
|Title|Gets or sets the title of the axis.|
148
+
|TitleForeColor|Gets or sets the text color of an axis title.|
149
+
150
+
### Chart
106
151
107
152
The root class for the charts.
108
153
109
-
### Properties
154
+
**Properties**
110
155
111
156
|Property Name|Description|
112
157
|-------------|------------|
113
-
|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](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.|
158
+
|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.|
|Area3DStyle Enable3D|Gets or sets a value that indicates whether the flag toggles the 3D on and off for a chart area.|
175
+
176
+
### Legend
122
177
123
178
Represents the legend for the chart image.
124
179
125
-
### Properties
180
+
**Properties**
126
181
127
182
|Property Name| Description|
128
183
|-------------|------------|
129
184
|Enabled| Defines whether the legend is enabled. By default it is set to `True`.|
130
185
131
-
## Series
186
+
###Series
132
187
133
188
Stores data points and series attributes.
134
189
135
-
### Properties
190
+
**Properties**
136
191
137
192
|Property Name| Description|
138
193
|-------------|------------|
139
-
|ChartType| An enumeration value that indicates the chart type that is used to represent the series. The default value is Column.|
194
+
|BorderColor|Gets or sets the border color of the data point.|
195
+
|BorderWidth|Gets or sets the border width of the data point.|
196
+
|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
+
|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
+
|IsValueShownAsLabel|Gets or sets a flag that indicates whether to show the value of the data point on the label.|
199
+
|IsVisibleInLegend|Gets or sets a flag that indicates whether the item is shown in the legend.|
200
+
|LabelForeColor|Gets or sets the text color of the label.|
201
+
|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
+
|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
+
|YAxisType|Gets or sets the Y-axis type of a series. Only second Y-axis is supported, not second X-axis.|
140
204
141
205
### Supported numeric format for charts in Unified Interface
0 commit comments