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: docs/trex_release-notes.md
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,38 +29,35 @@ This release contains updates for [Tableau Viz]({{site.baseurl}}/docs/trex_table
29
29
30
30
* Added support for setting the size of a bar mark to be manual or fixed. You can also set the mark’s size and alignment.
31
31
32
-
* Added support for sorting. You can sort a field (continuous or discrete). Supports sorting by ascending or descending values for continuous fields and discrete fields (`VizImageSortDirectionType.Ascending`, `VizImageSortDirectionType.Descending`).
32
+
* Added support for sorting. You can sort a field (continuous or discrete)by ascending or descending values (`VizImageSortDirectionType.Ascending`, `VizImageSortDirectionType.Descending`).
* For continuous fields, you can set the color palette to a customdiverging or customsequential color palette and not just a Tableau defined palate, such as, `green_blue_white_diverging_10_0`.
38
+
* For continuous fields, you can set the color palette to a custom-diverging, or custom-sequential color palette. You are not restricted to using only a Tableau defined palate, such as, `green_blue_white_diverging_10_0`.
39
39
For example, you could set the custom palette as shown in the following examples:
* Added support to show or hide grid lines in the view for rows or columns, or both.
57
56
58
-
* Starting with the v1.8 release of the Dashboard Extensions API library and Tableau 2021.4, Tableau Viz now uses the Tableau fonts as the default font for text in the output SVG image.
59
-
57
+
* Starting with the v1.8 release of the Dashboard Extensions API library and Tableau 2021.4, Tableau Viz now uses Tableau fonts as the default font for text in the output SVG image.
60
58
61
59
For more information, see [Tableau Viz Reference]({{site.baseurl}}/docs/trex_tableau_viz_ref.html){:target="_blank"}
Copy file name to clipboardExpand all lines: docs/trex_tableau_viz_ref.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -177,23 +177,23 @@ Specifies the size encoding of the mark. The `size` property corresponds to the
177
177
|`size` Property | Value |
178
178
|:--- |:--- |
179
179
|`field`| The name of the field to encode. |
180
-
|`type`| The way the data is distributed in the view (`discrete` or `continuous`).|
181
-
|`setting`| For continuous fields of the bar mark type, specifies the size and alignment properties of a mark. The options are `manual` or `fixed` size. For `manual`, you can specify a `size` value from `0` to `2`. For `fixed` you can set the alignment and width in axis units. See the `setting` properties for more information. |
180
+
|`type`| The way the data is distributed in the view (discrete or continuous).|
181
+
|`setting`| For continuous fields of the bar mark type, specifies the size and alignment properties of a mark. The options are manual (`tableau.VizImageSizeSettingType.Manual`) or fixed size (`tableau.VizImageSizeSettingType.Fixed`). For manual, you can specify a `size` value from `0` to `2`. For fixed, you can set the alignment and width in axis units. See the `setting` properties for more information. |
182
182
|`showlegend`| Boolean (`true`, `false`). Specifies whether to show or hide the color legend. |
183
183
184
184
185
185
|`setting` Property | Value |
186
186
|:--- |:--- |
187
-
|`fixed`| Mark size is fixed. When `fixed` is selected, you can set the `alignment` to `right`, `left`, or `center`. You can set the `width_in_axis_units` to a fixed number of units (floating point values accepted). |
188
-
|`manual`| Specifies that the mark size type is manual. When this is selected, set the `marksize` value (from 0 to 2, floating point values accepted). |
187
+
|`tableau.VizImageSizeSettingType.Fixed`| Mark size is fixed. When `Fixed` is selected, you can set the `alignment` to `tableau.VizImageSizeSettingAlignmentType.Right`, `tableau.VizImageSizeSettingAlignmentType.Left`, or `tableau.VizImageSizeSettingAlignmentType.Center`. You can set the `width_in_axis_units` to a fixed number of units (floating point values accepted). |
188
+
|`tableau.VizImageSizeSettingType.Manual`| Specifies that the mark size type is manual. When this is selected, set the `marksize` value (from 0 to 2, floating point values accepted). |
@@ -284,23 +284,23 @@ You can set the color palette to a custom diverging or custom sequential color p
284
284
285
285
| Custom Palette Property | Value |
286
286
|:--- |:--- |
287
-
|`custom-diverging`| Defines a custom diverging palette. Specify the `start` value and an `end` value, each as a hexadecimal value. |
288
-
|`custom-sequential`| Defines a custom sequential palette. Specify the `end` value as a hexadecimal value. |
287
+
|`tableau.VizImagePaletteType.CustomDiverging`| Defines a custom diverging palette. Specify the `start` value and an `end` value, each as a hexadecimal value. |
288
+
|`tableau.VizImagePaletteType.CustomSequential`| Defines a custom sequential palette. Specify the `end` value as a hexadecimal value. |
289
289
290
290
291
291
For example, you could set a custom palette as shown in the following examples:
0 commit comments