deecay
f5900a1929
Chart: Bubble size control by coefficient and sizemode ( #3928 )
2019-12-26 16:19:45 +02:00
Levko Kravets
bc52b78889
Third column not selectable for Bubble and Heatmap charts ( #4449 )
2019-12-16 13:00:17 +02:00
Arik Fraimovich
56d3be2248
Prettier all the Javascript code & GitHub Action ( #4433 )
...
* Prettier all the JS files
* Add GitHub Action to autoformat code pushed to master
* Fix eslint violation due to formatting.
* Remove GitHub actions for styling
* Add restyled.io config
2019-12-11 17:05:38 +02:00
Arik Fraimovich
1b9b3032ca
Change eslint configuration and fix resulting issues ( #4423 )
...
* Remove app/service/query-string (unused) and its dependency.
* Fix usage of mixed operators.
* eslint --fix fixes for missing dependencies for react hooks
* Fix: useCallback dependency passed to $http's .catch.
* Satisfy react/no-direct-mutation-state.
* Fix no-mixed-operators violations.
* Move the decision of whether to render Custom chart one level up to make sure hooks are called in the same order.
* Fix: name was undefined. It wasn't detected before because there is such global.
* Simplify eslint config and switch to creat-react-app's eslint base.
* Add prettier config.
* Make sure eslint doesn't conflict with prettier
* A few updates post eslint (#4425 )
* Prettier command in package.json
2019-12-11 12:00:46 +02:00
Levko Kravets
94bd03dc42
Set of improvements and refinements to visualizations after React migration ( #4382 )
2019-12-04 16:23:29 +02:00
Levko Kravets
041d05d18b
Chart series switch places when picking Y axis or color ( #4412 )
2019-12-04 16:00:01 +02:00
Levko Kravets
818649bbec
Migrate Chart visualization to React Part 2: Editor ( #4139 )
2019-11-20 21:57:12 +02:00
Levko Kravets
54071e4b87
Migrate Chart visualization to React Part 1: Renderer ( #4130 )
...
* Migrate Chart visualization: Renderer
* Refine PlotlyChart component; move stylesheets to visualization's folder
* Migrate Custom JS Chart to React
* Cleanup
2019-09-12 10:23:43 +03:00
Levko Kravets
2c98f0425d
Allow the user to decide how to handle null values in charts ( #4071 )
...
* getredash/redash#2629 Refactor Chart visualization, add option for handling NULL values (keep/convert to 0.0)
* Handle null values in line/area stacking code; some cleanup
* Handle edge case: line/area stacking when last value of one of series is missing
* Mjnor update to line/area stacking code
* Fix line/area normalize to percents feature
* Unit tests
* Refine tests; add tests for prepareLayout function
* Tests for prepareData (heatmap) function
* Tests for prepareData (pie) function
* Tests for prepareData (bar, line, area) function
* Tests for prepareData (scatter, bubble) function
* Tests for prepareData (box) function
* Remove unused file
2019-09-09 13:00:26 +03:00
Levko Kravets
4e9da3f116
[Bug fix] Plotly legend overlaps plot on small screens (when legend clicked) ( #3976 )
2019-07-13 18:27:53 +03:00
Levko Kravets
3c1d1e3d4e
Explicitly mark default visualization ( #3944 )
2019-06-30 14:09:00 +03:00
Levko Kravets
f8d05dda9f
getredash/redash#3879 Plotly legent overlaps plot on small screens (FF only) ( #3882 )
2019-06-12 11:46:34 +03:00
YOSHIDA Katsuhiko
81bc4ef58b
[Feature] Add direction option in Pie Chart ( #3762 )
2019-05-06 11:30:48 +03:00
Arik Fraimovich
ee29cf9efc
Fix: pie chart not rendering when series doesn't exist in options. ( #3756 )
2019-05-05 09:04:52 +03:00
Levko Kravets
9a4433bf68
Migrate visualizations registry/renderer/editor to React ( #3493 )
2019-04-30 16:34:00 +03:00
Allen Short
3fdd3080c1
Use series name as pie chart label ( #3484 )
...
It was unconditionally using the column name; this uses the series name instead
if specified in the chart editor.
2019-02-25 10:10:27 +02:00
Marina Samuel
029bee18fb
Coerce to moment when 'datetime' selected by user. ( #3150 )
2019-02-07 14:42:30 +01:00
Levko Kravets
ee0e81e795
Fix eslint errors
2019-01-31 11:21:45 +02:00
koooge
2da511021e
Frontend lint update ( #3253 )
...
* client: Add lint command
Signed-off-by: koooge <koooooge@gmail.com >
* client: Override eslint rule object-curly-newline to keep current style
Signed-off-by: koooge <koooooge@gmail.com >
* client: Override eslint rule no-else-return to keep current style
Signed-off-by: koooge <koooooge@gmail.com >
* client: Fix eslint import/named
Signed-off-by: koooge <koooooge@gmail.com >
* client: eslint-5
Signed-off-by: koooge <koooooge@gmail.com >
* codeclimate: Delete the old setting
Signed-off-by: koooge <koooooge@gmail.com >
* client: Downgrade eslint 5 to 4 in codeclimate
Signed-off-by: koooge <koooooge@gmail.com >
* client: npx install-peerdeps --dev eslint-config-airbnb
Signed-off-by: koooge <koooooge@gmail.com >
* client: Enbale .jsx lint
Signed-off-by: koooge <koooooge@gmail.com >
* client: Set warn
Signed-off-by: koooge <koooooge@gmail.com >
* client: Fix lint indent, implicit-arrow-linebreak, lines-between-class-members
Signed-off-by: koooge <koooooge@gmail.com >
* client: Disable eslint operator-linebreak
Signed-off-by: koooge <koooooge@gmail.com >
* Revert "client: Downgrade eslint 5 to 4 in codeclimate"
This reverts commit f0fb0f0059 .
* client: Fix react/button-has-type
Signed-off-by: koooge <koooooge@gmail.com >
* client: Disable an eslint rule react/jsx-one-expression-per-line
Signed-off-by: koooge <koooooge@gmail.com >
* codeclimate: Disable no-multiple-empty-lines
Signed-off-by: koooge <koooooge@gmail.com >
* client: Disable eslint react/destructuring-assignment
Signed-off-by: koooge <koooooge@gmail.com >
2019-01-29 17:25:58 +02:00
Levko Kravets
ba0d069283
getredash/redash#3213 Scatter charts can have category Y axis (similar to Bubble) ( #3243 )
2019-01-03 17:15:51 +02:00
deecay
03a7e24204
Show Sort Y only when type is Heatmap ( #3206 )
2018-12-24 17:10:16 +02:00
Arik Fraimovich
0fe1b5f9d4
Fix: registerAll fails after minification ( #3106 )
2018-11-20 23:34:37 +02:00
Levko Kravets
16ae0aa3d8
getredash/redash#2901 Fix docs links ( #3102 )
2018-11-20 11:06:09 +02:00
Topher Cyll
6e4f0ccee8
Bubble chart marker size override was clobbering seriesColor. ( #3063 )
...
Colors can now be set for bubble charts in UI.
2018-11-18 11:05:18 +02:00
Levko Kravets
391fbe130b
getredash/redash#2998 Charts lose responsive features after refreshing the dashboard ( #3024 )
2018-10-29 22:08:35 +02:00
Levko Kravets
e25c8c4145
getredash/redash#3022 Toolbox covers part of the chart ( #3023 )
2018-10-29 11:38:29 +02:00
deecay
34c118cf83
Add: Heatmap chart visualization by Plotly ( #2080 )
2018-10-21 11:39:06 +03:00
YOSHIDA Katsuhiko
6e836795b2
Fix url scheme ( #2994 )
2018-10-21 11:38:11 +03:00
Arik Fraimovich
a8a3ec66fd
Bring back fix to Box plot hover. ( #2941 )
2018-10-15 16:01:38 +03:00
Levko Kravets
9b59d10677
Use Plotly's function to clean y-values (x may be category or date/time) ( #2872 )
2018-10-11 12:27:28 +03:00
Levko Kravets
a40669e07f
getredash/redash#2875 Update plotly.js; some cleanup; fix chart legend issue in horizontal mode ( #2902 )
2018-10-11 11:23:40 +03:00
Levko Kravets
28fbc2ae62
getredash/redash#2796 Change placement (right/bottom) of chart legend depending on chart width
2018-09-27 10:14:58 +03:00
maxv
3ecec4ba8b
Remove closing input tags
2018-08-04 11:02:44 +03:00
Levko Kravets
3772612a97
Pie chart: sectors colors
2018-07-06 14:53:57 +03:00
Levko Kravets
ead1e07e99
getredash/redash#2534 Dashboard stops rendering when adding widget with empty query
2018-06-28 11:50:35 +03:00
Allen Short
d6011ede0c
switch underscore usages to lodash
...
There's still one usage of `numberFormat` from `underscore.string`.
2018-06-25 12:13:25 -05:00
Marina Samuel
804603014d
Closes #2541 : x-axis improvements.
2018-05-31 16:29:39 -04:00
Arik Fraimovich
90d642fbe2
Update the tab name.
2018-05-31 21:25:51 +03:00
Arik Fraimovich
ca1b8f2047
Update chart editor labels
2018-05-31 21:07:12 +03:00
Levko Kravets
80295ca1e7
Chart tooltips: use date/time format from config
2018-05-31 18:40:18 +03:00
Levko Kravets
75f8b8ae7b
getredash/redash#728 Use date/time and number formats only for tooltips
2018-05-30 17:25:30 +03:00
Levko Kravets
2ed67005b9
Remove unused option
2018-05-15 12:47:13 +03:00
Levko Kravets
e12d539234
getredash/redash#728 Chart: formats for values, labels and tooltips
2018-05-07 22:18:26 +03:00
Arik Fraimovich
d34d58bf33
Merge pull request #2374 from kravets-levko/feature/choropleth
...
Choropleth visualization
2018-03-25 14:34:45 +03:00
deecay
6356a75478
Fix: Box plot hover
2018-03-24 20:57:04 +09:00
Levko Kravets
be9bcaeb3d
Multiple fixes:
...
* Fix: line chart with category x-axis: when some values missing, wrong hints displayed on hover
* Fix: second Y-axis not displayed when stacking enabled
* Set of dashboard improvements and bug fixes
- set minimal height of widgets to 1 (was 4)
- bug: for some widgets auto-height wasn't calculated properly (sometimess too small, sometimes too large)
- bug: for small widgets, top-right menu was cut to widgets bounds
- bug: with opened top-right menu widgets with auto-height started "dancing"
- bug: at some point auto-height feature was disabling by itself (in fact - it depends on `angular-grindter`s internal processes)
- fix: widget with empty contents had extra 40px of white space (paddings of container)
* Add scrollbars to pivot table widgets
* Fix: 100% CPU loading caused page lags
2018-03-23 19:25:21 +03:00
Arik Fraimovich
2f24cff33c
Plotly: increase Y value accuracy.
2018-03-23 19:20:28 +03:00
Levko Kravets
2f30dbf645
getredash/redash#2317 Choropleth visualization
2018-03-06 20:42:48 +02:00
Zsolt Kocsmarszky
b053770998
less vivid colors fo charts
2018-02-18 19:55:00 +01:00
Zsolt Kocsmarszky
9e5f749556
Change default visualization colors
2018-02-17 18:21:11 +01:00