Plot Styles
Plot Styles are methods you can use to change the "style" of XY Series charts and Category charts. For example, an XY Series plot uses lines as a default to show the values being plotted. However, you can easily change that to a different style of chart by applying the plotStyle
method. Arguments to the plotStyle
method include the following:
- Bar
- Stacked_Bar
- Line
- Area
- Stacked_Area
- Scatter
- Step
Note: Argument capitalization does not matter
Examples of the syntax needed when using the plotStyle()
method follow:
Sample Syntax |
Action |
---|---|
|
Change an XY series plot to present as an area plot instead of a line. |
|
Change an XY series plot to present as a step plot instead of a line. |
|
Change a category plot to present as a line plot instead of a column |
Working examples can be reviewed at the links below:
Last Updated: 25 February 2020 08:26 -05:00 UTC Deephaven v.1.20200121 (See other versions)
Deephaven Documentation Copyright 2016-2020 Deephaven Data Labs, LLC All Rights Reserved