Constructor
new SpotfireWaterfallChart(waterfallChartProperties)
Default constructor.
Parameters:
| Name | Type | Description |
|---|---|---|
waterfallChartProperties
|
Object | |
[ appearance ]
|
Object | |
orientation
|
SpotfireWaterfallChartOrientations | Use 'Vertical' to display the bars and blocks vertically in the visualization, 'Horizontal' to display the bars and blocks horizontally in the visualization. |
compensateForMissingValues
|
Boolean | If you are using a Date, Time or DateTime column somewhere in the visualization, it determines whether or not to perform some calculation where a required time period is missing. For example, if you have created a visualization and there are missing data for some categories, selecting this check box will produce a block of the same size as the previous block instead of showing no block at all. |
[ labels ]
|
Object | |
showLabelsFor
|
SpotfireLabelVisibilities | Determines whether to show labels on all bars and blocks ('All'), bars and blocks containing marked rows only ('Marked rows'), or not to show any labels at all ('None'). |
labelOrientation
|
SpotfireLabelOrientations ▼ | Determines whether to display the labels horizontally or vertically. |
horizontal
|
String | |
vertical
|
String | |
showRunningTotals
|
Boolean | Determines whether or not to show labels on the Running totals. |
showBlocks
|
Boolean | Determines whether or not to show labels on Blocks. |
maxNumberOfLabels
|
Number | Specifies the maximum number of labels to be shown. If the number is smaller than the available number of blocks, the labels will be equally distributed along the category axis. |