Tim Raymond
384b23a10a
Add validation around Base and Scale
...
The Base and Scale options on axes can only be one of two parameters. We
weren't validating that this was the case. This patch ensures that Base
can only ever be "10" or "2", and Scale must be either "linear" or
"log".
Associated test coverage was also added.
2017-08-24 15:59:46 -07:00
Tim Raymond
03886f4444
Update Swagger for new axes options
...
New options were introduced to control things like scale, base, etc. on
axes and these were previously not documented. This adds documentation
of the newly supported parameters by the API.
2017-08-24 15:59:46 -07:00
Tim Raymond
f50c4aebe0
Update commenting on new axis options
...
Existing comments were deemed unclear or inconsistent with convention.
2017-08-24 15:59:46 -07:00
Andrew Watkins
17073907ab
Remove dup script
2017-08-24 15:59:46 -07:00
Andrew Watkins
83fbf11eec
Update tests for scale to default to linear
2017-08-24 15:59:46 -07:00
Andrew Watkins
39487eecb2
Update CHANGELOG.md
2017-08-24 15:59:46 -07:00
Andrew Watkins
886d8a0de5
Fix graphs not resizing properly in cells
2017-08-24 15:59:46 -07:00
Andrew Watkins
42cf70f321
Add a tooltip to value format toggle
2017-08-24 15:59:46 -07:00
Andrew Watkins
d573ff92bf
Remove magic numbers
2017-08-24 15:59:46 -07:00
Andrew Watkins
aaa274b03e
Move DisplayOptionsInput into /dashboard dir
2017-08-24 15:59:45 -07:00
Andrew Watkins
3b7171d49a
Add ability to toggle between linear and logarithmic scale
2017-08-24 15:59:45 -07:00
Andrew Watkins
e4b0c2838c
Default scale to 'linear'
2017-08-24 15:59:45 -07:00
Andrew Watkins
0f1a9a4d92
Make input SFC
2017-08-24 15:59:45 -07:00
Andrew Watkins
901717ba76
Use defaultProps instead of _.get()
2017-08-24 15:59:45 -07:00
Andrew Watkins
7e32d6c642
Update dygraph based on user selected base
2017-08-24 15:59:45 -07:00
Andrew Watkins
957005ce6e
Allow set base state on cell
2017-08-24 15:59:45 -07:00
Andrew Watkins
0766293853
Fix incorrect empty y2 bound
2017-08-24 15:59:45 -07:00
Andrew Watkins
4d0dc257bd
Fix incorrect positioning of labels on initial render
2017-08-24 15:59:45 -07:00
Andrew Watkins
a1e4107bc3
Actually resize Dygraph on component update
2017-08-24 15:59:44 -07:00
Andrew Watkins
9bf7623270
Cleanup
2017-08-24 15:59:44 -07:00
Andrew Watkins
47e05de99a
WIP Allow user to set prefix and suffix in y-axis
2017-08-24 15:59:44 -07:00
Andrew Watkins
9fcc0df313
Fix linter errors
2017-08-24 15:59:44 -07:00
Andrew Watkins
be268ba689
WIP Import dygraphs number axis formatter
2017-08-24 15:59:44 -07:00
Alex P
e9cd14697b
Remove obsolete changelog entry introduced in merge
2017-08-24 15:59:44 -07:00
Jared Scheib
1001fee9d0
Update changelog
2017-08-24 15:59:44 -07:00
Tim Raymond
13e4caa9e2
Update CHANGELOG for layout cell axes
2017-08-24 15:59:44 -07:00
Alex P
9aa0bffb8e
Updoot changelog
2017-08-24 15:59:43 -07:00
Jared Scheib
8de5c18d4a
Clarify data corruption release note, clean up changelog
2017-08-24 15:59:43 -07:00
Andrew Watkins
887b5f1376
Update changelog
2017-08-24 15:59:43 -07:00
Tim Raymond
f99d5017c9
Update CHANGELOG with data corruption notes
2017-08-24 15:59:43 -07:00
Tim Raymond
c9c163a455
Update CHANGELOG and version for v1.3.6.1
2017-08-24 15:59:43 -07:00
Tim Raymond
8609aa0ec1
Update CHANGELOG w/ fix for single stat
2017-08-24 15:59:43 -07:00
Andrew Watkins
47a27ed7a2
Update CHANGELOG.md
2017-08-24 15:59:43 -07:00
Andrew Watkins
8498da697e
Move active query logic to container
2017-08-24 15:59:43 -07:00
Andrew Watkins
581afe2b17
Change height of table dynamically according to resizer
2017-08-24 15:59:42 -07:00
Tim Raymond
17b51259b6
Add Axes to Cells on Layouts
...
This allows a creator of a layout to specify the visible extents of
graphs for individual cells. For example, a cell displaying a
percentage could be limited to values between 0 and 100.
Existing canned layouts need to updated as a separate step. However,
this adds support for Axes to appear in them as well.
2017-08-24 15:59:42 -07:00
Hunter Trujillo
300d67c318
Add SHOW DATABASES integration test with Nightwatch.js.
2017-08-24 15:59:42 -07:00
Jared Scheib
3d4662389b
Pass default Y label into DisplayOptions
...
Refactor DisplayOptions into ES6 component
Rename buildYLabel to buildDefaultYLabel
2017-08-24 15:59:42 -07:00
Hunter Trujillo
bbe5c49820
Update changelog in response to comments.
2017-08-24 15:59:42 -07:00
Hunter Trujillo
9c1303ce0e
CHAMGELOG
2017-08-24 15:59:42 -07:00
Hunter Trujillo
8a419ea0f7
CHANGELOG
2017-08-24 15:59:42 -07:00
Hunter Trujillo
66f3f08bb6
CHANGELOG.
2017-08-24 15:59:42 -07:00
Tim Raymond
b08aa236bb
Add Scale attribute to Cell Axis
...
This allows clients to specify the magnitude of numbers found on a
particular axis.
2017-08-24 15:59:42 -07:00
Tim Raymond
a0555cf9fe
Add Prefix, Suffix, and Base to Axes
...
We would like to add additional user-configurable options to the display
of axes on Dashboards. This adds three fields to expand settings that
the frontend can persist through the API.
One field of interest here is the "Base" field which controls when and
how axes transition the display of values such as bytes, kilobytes,
megabytes, etc. By default, it's returned from the API as "10" to
indicate decimal, but can be set to anything the frontend wishes--the
immediate differing value will be "2" for the aforementioned use case.
2017-08-24 15:59:41 -07:00
Jared Scheib
ce327d59c7
Add and wire up action creator and reducer for fill in query config
2017-08-24 15:15:45 -07:00
Jared Scheib
463ae5dbd6
Add comment and import const for 'null' string value on default config
2017-08-24 15:14:49 -07:00
Jared Scheib
ea88b35ef5
Add query transition for fill
2017-08-24 15:11:39 -07:00
Jared Scheib
4b3dd53010
Remove parens from queryFill options
2017-08-24 15:10:48 -07:00
Jared Scheib
2aa2d09250
Make query fill options syntax consistent
2017-08-24 14:38:59 -07:00
Andrew Watkins
1f7f8e02c4
Merge branch 'master' into bugfix/same-range
2017-08-24 14:26:38 -07:00