Draw As (drawAs)
The Draw As property specifies the type of chart rendered from the data.
In the Properties view, this property is the Draw As property in the Chart category.
Type: Enum.
Map chart
Name |
---|
Bar |
Bar3D |
Pie |
Pie3D |
Ring |
You can also specify that the map chart displays as a table by setting drawAs to Table, SortedTable, or AggregatedTable.
Category chart
Name |
---|
Area |
Bar |
Bar3D |
Line |
Line3D |
SpiderWeb |
StackedArea |
StackedBar |
Waterfall |
You can also specify that the category chart displays as a table by setting drawAs to Table, SortedTable, or AggregatedTable.
XY chart
Name |
---|
Area |
Line |
Polar |
Scatter |
StackedArea |
Step |
StepArea |
TimeSeries |
You can also specify that the XY chart displays as a table by setting drawAs to Table or SortedTable.
Pivot table
Name | ||
---|---|---|
Area | Bar | Bar3D |
Line | Line3D | Pie |
Pie3D | Polar | Ring |
Scatter | SpiderWeb | StackedArea |
StackedBar | Step | StepArea |
Table | TimeSeries | Waterfall |
XYArea | XYStacked | XYLine |
The drawAs property specifies the type of output that is rendered from the data. Depending on the type selected and the number of available dimensions, the rendering is delegated to the map chart, category chart, XY chart, or table element. If the number of selected dimensions outnumbers the respective number in the selected visualization, the exceeding dimensions and measures are ignored. The values are assigned from left to right. For example, if a pivot table with 4 dimensions and 3 measures is drawn as a category chart with only 2 dimensions and one measure, then the chart is drawn using the first two dimensions and the first measure from the pivot table's columns. Selecting Table causes the output to be drawn in tabular form, displaying all selected columns of the pivot table.