Commit b1668565 authored by Alin Sinpalean's avatar Alin Sinpalean Committed by Brian Brazil

Document new PromConsole.Graph parameter colorScheme. (#782)

parent 4dec7bd8
...@@ -159,6 +159,7 @@ Parameters to the graph library: ...@@ -159,6 +159,7 @@ Parameters to the graph library:
| yTitle | Optional. Title of the y-axis. Defaults to empty. | yTitle | Optional. Title of the y-axis. Defaults to empty.
| yAxisFormatter | Optional. Number formatter for the y-axis. Defaults to `PromConsole.NumberFormatter.humanize`. | yAxisFormatter | Optional. Number formatter for the y-axis. Defaults to `PromConsole.NumberFormatter.humanize`.
| yHoverFormatter | Optional. Number formatter for the hover detail. Defaults to `PromConsole.NumberFormatter.humanizeExact`. | yHoverFormatter | Optional. Number formatter for the hover detail. Defaults to `PromConsole.NumberFormatter.humanizeExact`.
| colorScheme | Optional. Color scheme to be used by the plots. Can be either a list of hex color codes or one of the [color scheme names](https://github.com/shutterstock/rickshaw/blob/master/src/js/Rickshaw.Fixtures.Color.js) supported by Rickshaw. Defaults to `'colorwheel'`.
If both `expr` and `name` are lists, they must be of the same length. The name If both `expr` and `name` are lists, they must be of the same length. The name
will be applied to the plots for the corresponding expression. will be applied to the plots for the corresponding expression.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment