diff --git a/bolt/internal/internal.go b/bolt/internal/internal.go index 4ff5e3d62e..c844665ec8 100644 --- a/bolt/internal/internal.go +++ b/bolt/internal/internal.go @@ -206,6 +206,7 @@ func MarshalDashboard(d chronograf.Dashboard) ([]byte, error) { Prefix: r.Prefix, Suffix: r.Suffix, Base: r.Base, + Scale: r.Scale, } } @@ -296,6 +297,7 @@ func UnmarshalDashboard(data []byte, d *chronograf.Dashboard) error { Prefix: r.Prefix, Suffix: r.Suffix, Base: r.Base, + Scale: r.Scale, } } else { diff --git a/bolt/internal/internal.pb.go b/bolt/internal/internal.pb.go index 8c9b099fc1..317db658a2 100644 --- a/bolt/internal/internal.pb.go +++ b/bolt/internal/internal.pb.go @@ -124,6 +124,7 @@ type Axis struct { Prefix string `protobuf:"bytes,4,opt,name=prefix,proto3" json:"prefix,omitempty"` Suffix string `protobuf:"bytes,5,opt,name=suffix,proto3" json:"suffix,omitempty"` Base string `protobuf:"bytes,6,opt,name=base,proto3" json:"base,omitempty"` + Scale string `protobuf:"bytes,7,opt,name=scale,proto3" json:"scale,omitempty"` } func (m *Axis) Reset() { *m = Axis{} } @@ -326,68 +327,68 @@ func init() { func init() { proto.RegisterFile("internal.proto", fileDescriptorInternal) } var fileDescriptorInternal = []byte{ - // 998 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xbc, 0x56, 0xcd, 0x8e, 0xe3, 0x44, - 0x10, 0x56, 0xc7, 0x76, 0x12, 0xd7, 0xec, 0x0e, 0xa8, 0xb5, 0x62, 0xcd, 0x72, 0x09, 0x16, 0x48, - 0x01, 0x69, 0x07, 0xb4, 0x2b, 0x24, 0xc4, 0x2d, 0x33, 0x41, 0xab, 0x61, 0x66, 0x97, 0xa1, 0x33, - 0x33, 0x9c, 0xd0, 0xaa, 0xe3, 0x54, 0x26, 0xd6, 0x3a, 0xb1, 0x69, 0xdb, 0x93, 0xf8, 0x2d, 0x78, - 0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ba, 0x40, 0x5f, 0xd0, - 0x91, 0x7f, 0x04, 0xde, 0xad, 0x4c, 0x4a, 0xd3, 0xf8, 0x83, 0x27, 0x87, 0x2d, 0xed, 0x64, 0x17, - 0xe7, 0xc2, 0x24, 0xbf, 0xea, 0x7d, 0xc9, 0xc2, 0x9f, 0x19, 0xb8, 0x14, 0x23, 0xb1, 0x13, 0xbc, - 0x91, 0x51, 0x75, 0x9c, 0x96, 0x9b, 0x45, 0x1e, 0xb0, 0x91, 0x33, 0x76, 0xc4, 0x5e, 0x8c, 0xbf, - 0x07, 0xfd, 0xb9, 0xc9, 0xf6, 0x46, 0xce, 0xd8, 0x17, 0x16, 0xf1, 0x07, 0xe0, 0x25, 0x72, 0x8e, - 0x89, 0x9d, 0x03, 0x03, 0xe8, 0x76, 0xa6, 0x70, 0x19, 0xef, 0xec, 0x18, 0x58, 0x44, 0xf1, 0xbc, - 0x5c, 0x52, 0xdc, 0x8c, 0x80, 0x45, 0xd4, 0xae, 0xb9, 0xcc, 0x9b, 0x16, 0xd2, 0x39, 0xfc, 0x8b, - 0x91, 0xd3, 0x8d, 0xb2, 0x1d, 0x77, 0x99, 0xde, 0xbd, 0x0f, 0x43, 0x52, 0xfd, 0xe5, 0xad, 0x54, - 0xd6, 0x61, 0x03, 0xc2, 0xd7, 0x52, 0xf1, 0xcf, 0xa0, 0xaf, 0x6b, 0xbc, 0xc3, 0x65, 0x35, 0xdd, - 0x35, 0xe5, 0x85, 0xbd, 0xd6, 0x68, 0xe5, 0x76, 0xb4, 0x6a, 0xca, 0xf2, 0xba, 0x65, 0x3d, 0x06, - 0x8f, 0x44, 0xaf, 0xf4, 0x77, 0xde, 0xc9, 0x6c, 0xac, 0x61, 0x6e, 0x85, 0x57, 0x70, 0x7f, 0xef, - 0xc5, 0xe6, 0x25, 0xb6, 0xff, 0x52, 0xab, 0x97, 0x6f, 0xf5, 0xa1, 0x29, 0xcf, 0x31, 0xc1, 0xa8, - 0xc0, 0x85, 0xee, 0xec, 0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cc, 0xee, - 0x9b, 0x66, 0x6c, 0xde, 0xd7, 0x7f, 0x78, 0x9e, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x35, 0xc8, - 0x8f, 0x51, 0x02, 0x09, 0x00, 0x00, + // 1006 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xbc, 0x56, 0xcf, 0x8e, 0xe3, 0xc4, + 0x13, 0x56, 0xc7, 0x76, 0x12, 0xd7, 0xcc, 0xce, 0xef, 0xa7, 0xd6, 0x8a, 0x35, 0xcb, 0x25, 0x58, + 0x20, 0x05, 0xa4, 0x1d, 0xd0, 0xae, 0x90, 0x10, 0xb7, 0xcc, 0x04, 0xad, 0x86, 0x99, 0x5d, 0x86, + 0xce, 0xcc, 0x70, 0x42, 0xab, 0x8e, 0x53, 0x99, 0x58, 0xeb, 0xc4, 0xa6, 0x6d, 0x4f, 0xe2, 0xb7, + 0xe0, 0x09, 0x90, 0x90, 0x38, 0x71, 0xe0, 0xc0, 0x0b, 0xf0, 0x10, 0xbc, 0x10, 0xaa, 0xee, 0xf6, + 0x9f, 0xb0, 0xb3, 0x68, 0x4f, 0xdc, 0xfa, 0xab, 0xea, 0x7c, 0xed, 0xaa, 0xef, 0xab, 0x52, 0xe0, + 0x28, 0xde, 0x14, 0xa8, 0x36, 0x32, 0x39, 0xce, 0x54, 0x5a, 0xa4, 0x7c, 0x58, 0xe3, 0xf0, 0xf7, + 0x1e, 0xf4, 0x67, 0x69, 0xa9, 0x22, 0xe4, 0x47, 0xd0, 0x3b, 0x9b, 0x06, 0x6c, 0xc4, 0xc6, 0x8e, + 0xe8, 0x9d, 0x4d, 0x39, 0x07, 0xf7, 0xa5, 0x5c, 0x63, 0xd0, 0x1b, 0xb1, 0xb1, 0x2f, 0xf4, 0x99, + 0x62, 0x57, 0x55, 0x86, 0x81, 0x63, 0x62, 0x74, 0xe6, 0x8f, 0x61, 0x78, 0x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a4, 0x32, 0xed, 0xf5, 0x45, 0x83, 0x49, 0xee, 0xef, 0x57, 0xa8, 0x6c, 0xcd, 0xbe, 0xb0, + 0x88, 0xcc, 0x71, 0xa1, 0xa7, 0xda, 0x54, 0x69, 0x00, 0xff, 0x18, 0x3c, 0x41, 0x55, 0xe8, 0x52, + 0xf7, 0x1a, 0xa4, 0xc3, 0xc2, 0x64, 0xc3, 0x67, 0xf6, 0x1a, 0xb1, 0x5c, 0x67, 0x19, 0x2a, 0xeb, + 0x69, 0x03, 0x34, 0x77, 0xba, 0x45, 0xb3, 0x8e, 0x1c, 0x61, 0x40, 0xf8, 0x03, 0xf8, 0x93, 0x04, + 0x55, 0x21, 0xca, 0xe4, 0xcd, 0x25, 0xc6, 0xc1, 0xfd, 0x66, 0xf6, 0xed, 0xcb, 0x7a, 0x12, 0xe8, + 0xdc, 0xfa, 0xd7, 0xf9, 0x87, 0x7f, 0xcf, 0x65, 0x26, 0xcf, 0xa6, 0x5a, 0x58, 0x47, 0x58, 0x14, + 0x7e, 0x0a, 0x2e, 0xcd, 0x49, 0x87, 0xd9, 0x7d, 0xdb, 0x8c, 0xcd, 0xfb, 0xfa, 0x6f, 0xd0, 0xb3, + 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xa9, 0x7c, 0x6a, 0x48, 0x18, 0x09, 0x00, 0x00, } diff --git a/bolt/internal/internal.proto b/bolt/internal/internal.proto index cb41ec8952..aa4fe470b2 100644 --- a/bolt/internal/internal.proto +++ b/bolt/internal/internal.proto @@ -41,6 +41,7 @@ message Axis { string prefix = 4; // specifies the prefix for axis values string suffix = 5; // specifies the suffix for axis values string base = 6; // defines the base for axis values + string scale = 7; // represents the magnitude of the numbers on this axis } message Template { diff --git a/bolt/internal/internal_test.go b/bolt/internal/internal_test.go index 2759b7f0f5..c57bccd882 100644 --- a/bolt/internal/internal_test.go +++ b/bolt/internal/internal_test.go @@ -171,6 +171,7 @@ func Test_MarshalDashboard(t *testing.T) { Prefix: "M", Suffix: "m", Base: "2", + Scale: "roflscale", }, }, Type: "line", diff --git a/chronograf.go b/chronograf.go index 3affae80a6..5b77438deb 100644 --- a/chronograf.go +++ b/chronograf.go @@ -647,6 +647,7 @@ type Axis struct { 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 } // DashboardCell holds visual and query information for a cell