Commit Graph

4793 Commits (2cfd9de3983d83ba665ce2fb04ea1501bda9c27a)

Author SHA1 Message Date
Alex P 2cfd9de398 Updoot log of changes 2017-08-29 11:15:28 -07:00
Alex P 07e096ee78 Fix for 1932 2017-08-29 11:12:33 -07:00
Chris Goller 7ef09dd271 Update CHANGELOG about line-stacked for memory graphs 2017-08-25 17:28:23 -05:00
Chris Goller 351347ec63 Merge pull request #1933 from Joxit/master
Use line stacked in mem.json (#1892)
2017-08-25 17:25:42 -05:00
Andrew Watkins ebefee2711 Merge pull request #1928 from influxdata/feature/tr-aw-axis-display-opts
Moar Y-Axis Options
2017-08-24 14:25:01 -07:00
Andrew Watkins 2c72a7b68b Add default value prop 2017-08-24 12:59:54 -07:00
Andrew Watkins cfd8bac7b8 Fix spelling 2017-08-24 12:59:54 -07:00
Tim Raymond d559acc0e0
Refactor set membership validation
The pattern of using a select with a list of options and a default that
returns an error isn't bad for a one-off validation:

select myProp {
  case "validOption1", "validOption2":
    // no-op
  default:
    panic("invalid!")
}

However, we're doing this multiple times in this method, so it makes
sense to pull this out into a new method to make it clearer what's
happening.

This adds a `oneOf` function that takes some property and a variadic
list of valid options and reports whether or not that property is among
that list.
2017-08-24 15:45:51 -04:00
Tim Raymond e421bf83d4
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:37:19 -04:00
Tim Raymond 3b51cb8339
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 14:50:12 -04:00
Tim Raymond 69cd695dff
Update commenting on new axis options
Existing comments were deemed unclear or inconsistent with convention.
2017-08-24 14:42:14 -04:00
Joxit 87e87ca286 Use line stacked in mem.json (#1892) 2017-08-24 18:36:21 +02:00
Andrew Watkins 7cf47a12f2 Remove dup script 2017-08-24 09:25:46 -07:00
Andrew Watkins 1ab6e55965 Update tests for scale to default to linear 2017-08-24 09:23:22 -07:00
Andrew Watkins 5685b8fb13 Merge branch 'master' into feature/tr-aw-axis-display-opts 2017-08-23 21:23:03 -07:00
Andrew Watkins 2990014f02 Update CHANGELOG.md 2017-08-23 21:13:19 -07:00
Andrew Watkins 21288e308f Fix graphs not resizing properly in cells 2017-08-23 21:08:18 -07:00
Andrew Watkins 39bf08acaf Add a tooltip to value format toggle 2017-08-23 21:08:18 -07:00
Andrew Watkins 87b9e0417b Remove magic numbers 2017-08-23 21:08:18 -07:00
Andrew Watkins ba442c2556 Move DisplayOptionsInput into /dashboard dir 2017-08-23 21:08:18 -07:00
Andrew Watkins be4ca9fcda Add ability to toggle between linear and logarithmic scale 2017-08-23 21:08:18 -07:00
Andrew Watkins 72cba23a44 Default scale to 'linear' 2017-08-23 21:08:17 -07:00
Andrew Watkins f2ef91053f Make input SFC 2017-08-23 21:08:17 -07:00
Andrew Watkins 5e46f7150a Use defaultProps instead of _.get() 2017-08-23 21:08:17 -07:00
Andrew Watkins a4ecc243d9 Update dygraph based on user selected base 2017-08-23 21:08:17 -07:00
Andrew Watkins 80e383a152 Allow set base state on cell 2017-08-23 21:08:17 -07:00
Andrew Watkins e04c7191a0 Fix incorrect empty y2 bound 2017-08-23 21:07:36 -07:00
Andrew Watkins 1287500931 Fix incorrect positioning of labels on initial render 2017-08-23 21:07:36 -07:00
Andrew Watkins 430bc4ee55 Actually resize Dygraph on component update 2017-08-23 21:07:36 -07:00
Andrew Watkins 6eb828b4db Cleanup 2017-08-23 21:07:36 -07:00
Andrew Watkins 25bcb1c372 WIP Allow user to set prefix and suffix in y-axis 2017-08-23 21:07:36 -07:00
Andrew Watkins edd9fa41df Fix linter errors 2017-08-23 21:06:27 -07:00
Andrew Watkins b6b2fb0655 WIP Import dygraphs number axis formatter 2017-08-23 21:06:27 -07:00
Jared Scheib 5710b116c8 Fix changelog update for Pull #1886 to be excluded from 1.3.7.0 2017-08-23 16:20:37 -07:00
Alex P 4188bc9676 Remove obsolete changelog entry introduced in merge 2017-08-23 16:15:42 -07:00
Jared Scheib e0f397f8dd Update changelog 2017-08-23 16:15:42 -07:00
Tim Raymond 8cae0863ae Update CHANGELOG for layout cell axes 2017-08-23 16:15:42 -07:00
Alex P 2f509f21c8 Updoot changelog 2017-08-23 16:15:41 -07:00
Jared Scheib ab275e1210 Clarify data corruption release note, clean up changelog 2017-08-23 16:15:41 -07:00
Andrew Watkins d9b736d147 Update changelog 2017-08-23 16:15:41 -07:00
Tim Raymond ca9b01594e Update CHANGELOG with data corruption notes 2017-08-23 16:15:40 -07:00
Tim Raymond 155b41da80 Update CHANGELOG and version for v1.3.6.1 2017-08-23 16:15:40 -07:00
Tim Raymond fea0c91e8f Update CHANGELOG w/ fix for single stat 2017-08-23 16:15:40 -07:00
Andrew Watkins bcabdf0c2a Update CHANGELOG.md 2017-08-23 16:15:39 -07:00
Andrew Watkins 32c3874a94 Move active query logic to container 2017-08-23 16:15:01 -07:00
Andrew Watkins fb52d79821 Change height of table dynamically according to resizer 2017-08-23 16:09:07 -07:00
Tim Raymond e3d8aeead5 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-23 16:08:32 -07:00
Hunter Trujillo a25d19c850 Add SHOW DATABASES integration test with Nightwatch.js. 2017-08-23 16:06:43 -07:00
Jared Scheib 0cb5523f5b Pass default Y label into DisplayOptions
Refactor DisplayOptions into ES6 component
Rename buildYLabel to buildDefaultYLabel
2017-08-23 16:04:01 -07:00
Nathan Haugo 8eb1e1b1a3 Merge 1.3.7.x 2017-08-23 16:01:30 -07:00