Update commenting on new axis options

Existing comments were deemed unclear or inconsistent with convention.
pull/10616/head
Tim Raymond 2017-08-24 14:42:14 -04:00 committed by Andrew Watkins
parent 17073907ab
commit f50c4aebe0
1 changed files with 4 additions and 4 deletions

View File

@ -644,10 +644,10 @@ type Axis struct {
Bounds []string `json:"bounds"` // bounds are an arbitrary list of client-defined strings that specify the viewport for a cell
LegacyBounds [2]int64 `json:"-"` // legacy bounds are for testing a migration from an earlier version of axis
Label string `json:"label"` // label is a description of this Axis
Prefix string `json:"prefix"` // specifies a prefix for axis values
Suffix string `json:"suffix"` // specifies a suffix for axis values
Base string `json:"base"` // defines the base for axis values
Scale string `json:"scale"` // the magnitude of the numbers for this axis
Prefix string `json:"prefix"` // Prefix represents a label prefix for formatting axis values
Suffix string `json:"suffix"` // Suffix represents a label suffix for formatting axis values
Base string `json:"base"` // Base represents the radix for formatting axis values
Scale string `json:"scale"` // Scale is the axis formatting scale. Supported: "log", "linear"
}
// DashboardCell holds visual and query information for a cell