Commit Graph

3555 Commits (6fdba650ecf7d603a054eb30e37d6cafb8b131d7)

Author SHA1 Message Date
Alex P 6fdba650ec Make CEO gauge preview update as changes are made 2017-11-22 15:22:58 -08:00
Alex P 0d2b1a6cde Ensure smooth resizing of gauges inside cells and the CEO 2017-11-22 15:20:11 -08:00
Alex P 5de3e08d80 Pass resizer top & bottom pixels into children 2017-11-22 15:08:37 -08:00
Alex P 0797eb188a Prevent user from inputing inoperable gauge values 2017-11-22 14:14:16 -08:00
Alex P ecfd0422e6 Refactor gauge drawing to accept any number of thresholds
Defaults to a gradient when there are only 2 thresholds
2017-11-22 13:42:52 -08:00
Alex P 0cc1a32ea3 WIP use actual min and max in display of gauge 2017-11-21 17:41:17 -08:00
Alex P cbbb6412b3 Send colors with save action and pass down to GaugeChart 2017-11-21 17:40:38 -08:00
Alex P f1190121a7 Set value of new gauge thresholds to the average of the min and max values 2017-11-21 12:53:49 -08:00
Alex P 5228b1dfde Add ability to delete a gauge threshold 2017-11-21 12:46:47 -08:00
Alex P 63618a7d10 Update CEO colors state from threshold value input 2017-11-21 12:43:32 -08:00
Alex P ebcdf44269 Update CEO colors state from threshold color dropdown 2017-11-21 12:43:19 -08:00
Alex P 3d095b012d Sort gauge thresholds by value before rendering 2017-11-21 12:11:56 -08:00
Alex P 52775c040b Remove console log 2017-11-21 11:24:55 -08:00
Alex P 34b2cf2649 Wire up add threshold function in CEO 2017-11-21 11:24:15 -08:00
Alex P fef38281fb Refactor gauge options to be a SFC and simplify into subcomponent 2017-11-21 11:00:17 -08:00
Alex P 67e3470fe5 Refactor color dropdown to use key 'name' instead of 'text' 2017-11-21 10:11:06 -08:00
Alex P 5e071375a9 WIP Add gauge controls in display options 2017-11-20 21:51:22 -08:00
Alex P a1f3a7c202 Remove redundant color from gauge colors list 2017-11-20 18:59:38 -08:00
Alex P de0817e420 Add optional disabled prop to color dropdown 2017-11-20 18:35:02 -08:00
Alex P aa1fc1d412 Introduce color dropdown component
Intended for choosing a color from a list; displays the color and its
name in the dropdown
2017-11-20 18:16:05 -08:00
Alex P e22e6f6ccf Introduce array of available gauge colors 2017-11-20 14:31:53 -08:00
Alex P dedf5ffec4 Refactor display options input to receive placeholder text as a prop 2017-11-20 14:31:35 -08:00
Alex P c968263250 Refactor display options input to receive column size as a prop 2017-11-20 14:16:32 -08:00
Alex P 02e5129f7f Pass in prop as bool not string 2017-11-20 13:58:40 -08:00
Alex P aa46e2e439 Redesign visualization type selector
Updated SVG designs, options appear to right side, viz type previews no
longer distort, add scrolling on overflow
2017-11-20 13:57:33 -08:00
Alex P 0386317c65 Improve label text and resize display options tab controller 2017-11-20 13:56:25 -08:00
Alex P 0c69f85a43 Add Gauge to refreshing graph available options 2017-11-20 13:28:24 -08:00
Alex P 2fa7eb8c37 Truncate gauge label text to 2 decimal points 2017-11-17 10:47:27 -08:00
Alex P 2d068237b8 Determine gauge size based on the smaller dimension 2017-11-17 08:21:55 -08:00
Alex P 12104412db Force canvas to maintain aspect ratio 2017-11-17 08:21:15 -08:00
Alex P e71c8c7fb7 Remove state from gauge 2017-11-17 08:20:58 -08:00
Alex P fbb63f2702 Adjust theme colors 2017-11-16 17:13:18 -08:00
Alex P 5289a2556c Fix implementation of inverse prop 2017-11-16 17:13:09 -08:00
Alex P c15beb7696 Add theme and inverse presentation options for gauges 2017-11-16 16:36:59 -08:00
Alex P 5672e5205c Add gradients to each section of the gauge 2017-11-16 16:18:01 -08:00
Alex P 512f90b865 Refactor gauge to include lower and upper thresholds 2017-11-16 13:08:48 -08:00
Alex P 1b4477f89b Render dimensions of gauge from props 2017-11-16 10:53:47 -08:00
Alex P 24a71b6c99 Throw error when gauge is passed bad values 2017-11-16 10:53:23 -08:00
Alex P 6559aea618 Reset canvas before each redraw 2017-11-16 10:52:52 -08:00
Alex P 6f112a4e35 Render gauge value in component 2017-11-16 10:52:15 -08:00
Alex P 39bc8a21b5 Style the gauge needle 2017-11-15 22:49:36 -08:00
Alex P 7d91cd5714 Remove comments 2017-11-15 22:13:03 -08:00
Alex P c3c8a5706c Add text labels to gauge 2017-11-15 19:26:12 -08:00
Alex P 9bd8c13691 WIP Gauge Component
Will eventually live inside a cell
2017-11-15 17:09:58 -08:00
Alex P 9ba51e7ce2 Fix for 2250 2017-11-14 14:23:26 -08:00
Luke Morris 5764511d8f DE tab names include measurement and all tag values 2017-11-09 18:38:09 -08:00
Andrew Watkins 50a0ae90d5 Remove console spam 2017-11-09 10:01:21 -08:00
Chris Goller b1ad6443e5 Fix several kapacitor validation failures 2017-11-07 16:02:02 -06:00
Andrew Watkins d562a069f5 Merge pull request #2218 from influxdata/bugfix/no-results-legend
Bugfix/no results legend
2017-11-06 15:08:19 -08:00
Chris Goller 1bcf74e547 Add hot module reload to dev builds (make run-hmr) 2017-11-04 14:07:39 -05:00