-
Notifications
You must be signed in to change notification settings - Fork 51
/
model_color_scale.go
18 lines (16 loc) · 1.46 KB
/
model_color_scale.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
* Charts API
*
* An API for creating, retrieving, updating, and deleting charts
*
* API version: 2.0.1
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package chart
// An object containing properties that specify the the limits of the color ranges specified in `options.colorRange`. The properties also control how to order the colors in the color gradient. Settings you make in `options.colorScale2` override any settings you make here.
type ColorScale struct {
// Determines how to use colors specified in `options.colorRange`. If this property is set to `true` and `options.colorBy` is set to `Range`, darker colors represent smaller data values. For chart types other than Heatmap, setting this property to `true` results in red representing lower values and green representing higher ones (if the default color scheme is in use).<br> Available when the chart type specified in `options.type` is set to Heatmap, SingleValue, or List.
Inverted bool `json:"inverted,omitempty"`
// Specifies data values that map to color gradient values. Specify the values from lowest to highest. Data values that outside the specified partitions don't appear in color, so you should set the first array value to corresopnd to the lowest expected data value. Similarly, set the last array value to correspond to the highest expected data value.<br> **Note** SignalFx only uses the first six elements in the array.
Thresholds []float32 `json:"thresholds,omitempty"`
}