Commit Graph

936 Commits

Author SHA1 Message Date
Victor Malai
b3f84f5657 feat: add sort by metric for charts with multiple metrics (#952)
Including
  - legacy-plugin-chart-pivot-table
  - legacy-plugin-chart-parallel-coordinates
  - legacy-plugin-chart-treemap
2021-11-26 11:46:54 +08:00
Victor Malai
b5627c73ea feat(plugin-chart-table): add tooltip about multiple sort (#958)
* feat(plugin-chart-table): subject Add tooltip show multiple sort

* Change message
2021-11-26 11:46:54 +08:00
Ville Brofeldt
ef46c2ed67 chore: publish v0.17.9 2021-11-26 11:46:54 +08:00
Victor Malai
4313a517df feat: Single metric sort (#953)
* feat(legacy-plugin-chart-heatmap): subject Add sort by metric

* feat(legacy-plugin-chart-sunburst): subject Add sort by metric

* feat(legacy-plugin-chart-force-directed): subject Add sort by metric

* feat(legacy-plugin-chart-chord): subject Add sort by metric

* feat(legacy-plugin-chart-country-map): subject Add sort by metric
2021-11-26 11:46:54 +08:00
Victor Malai
afa98bf41e feat(legacy-preset-chart-nvd3): subject NVD3 Bar chart sort by (#947)
* feat(legacy-preset-chart-nvd3): subject WIP

* feat(legacy-preset-chart-nvd3): subject Add sort by for bar chart
2021-11-26 11:46:54 +08:00
Ville Brofeldt
90e6a6fc4e chore: publish v0.17.8 2021-11-26 11:46:54 +08:00
simcha90
25a98fba97 feat(core): expand native filter hook and add chart metadata fields (#943)
* refactor: update setExtraFormData hook / change isNativeFilter Property / remove native filters

* refactor: clear storybook

* refactor: update type place

* refactor: add dasourceCount property

* refactor: fix CR notes
2021-11-26 11:46:54 +08:00
Ville Brofeldt
74d02a31e5 chore: publish v0.17.7 2021-11-26 11:46:54 +08:00
Victor Malai
ab2e6f31a5 feat(plugin-chart-echarts): subject add sort by metric for Pie Chart (#946) 2021-11-26 11:46:54 +08:00
Franklin
af6827018d feat(legacy-plugin-chart-country-map): Add Uruguay map (#944)
* feat: add uruguay map

* fix: Update Uruguay geojson file
2021-11-26 11:46:53 +08:00
Victor Malai
bf2a80ca7b feat(plugin-chart-word-cloud): subject Add order by desc on metric (#939)
* feat(plugin-chart-word-cloud): subject Add order by desc

* Add checkbox to control order by
2021-11-26 11:46:53 +08:00
Victor Malai
df47d95f5e feat(plugin-chart-echarts): subject Add option to rotate label defaul 45 (#921) 2021-11-26 11:46:53 +08:00
Ville Brofeldt
d3bb433560 fix(plugin-chart-echarts): label type and hover bugs (#942) 2021-11-26 11:46:53 +08:00
Ville Brofeldt
1816c7e731 chore: publish v0.17.6 2021-11-26 11:46:53 +08:00
Jesse Yang
79f67fe6c3 fix(plugin-chart-table): better rendering for temporal columns (#937) 2021-11-26 11:46:53 +08:00
Victor Malai
d3d343d6c4 feat(plugin-chart-echarts): subject Update echarts to v5.0.1 (#928)
* feat(plugin-chart-echarts): subject Update echarts to v5.0.1

* fix lint

* fix lint

* wip

* wip

* wip

* Fix comments

* Add back missed properties

* Fix lint

* Fix
2021-11-26 11:46:53 +08:00
Jesse Yang
2a4cc71870 chore: publish v0.17.5 2021-11-26 11:46:53 +08:00
Jesse Yang
ea63b7cf8e fix(plugin-chart-table): always sort descending by first metric (#935) 2021-11-26 11:46:53 +08:00
Ville Brofeldt
92ce2379ac chore: publish v0.17.4 2021-11-26 11:46:53 +08:00
Ville Brofeldt
b011c7914b fix(plugin-chart-table): refine ordering logic (#930) 2021-11-26 11:46:52 +08:00
Jesse Yang
00b475e848 chore: publish v0.17.3 2021-11-26 11:46:52 +08:00
Jesse Yang
b4bee55e9f fix(plugin-chart-table): unnecessary post_processing in raw records mode (#925) 2021-11-26 11:46:52 +08:00
Ville Brofeldt
d667c9fa49 chore: publish v0.17.2 2021-11-26 11:46:52 +08:00
Jesse Yang
0c06163c28 chore: publish v0.17.1 2021-11-26 11:46:52 +08:00
Jesse Yang
1846be099b feat(core): add orderby to extractQueryFields (#919) 2021-11-26 11:46:52 +08:00
Victor Malai
3f9a5d26c2 feat(plugin-chart-echarts): subject Add rich tooltip (#906)
* feat(plugin-chart-echarts): subject Add rich tooltip

* feat(plugin-chart-echarts): subject Add rich tooltip

* Fix lint

Fix lint

Fix lint

Fix lint

Fix lint

Fix lint & move rich tooltip separate section

Fix

Fix

Fix

Fix

* Add comment

* Change message
2021-11-26 11:46:51 +08:00
Victor Malai
2345e342cb feat(plugin-chart-echarts): subject Add time formatter on the tooltip title (#912)
* feat(plugin-chart-echarts): subject Add time formatter on tooltip title

* Fix lint

* Fix

* Fix

* Fix
2021-11-26 11:46:51 +08:00
Jesse Yang
1ca3cabc24 chore: publish v0.17.0 2021-11-26 11:46:51 +08:00
Jesse Yang
75298ecda3 refactor(plugin-chart-table): migrate to API v1 (#889) 2021-11-26 11:46:51 +08:00
dependabot-preview[bot]
6d4c24f59e build(deps): bump @vx/tooltip from 0.0.197 to 0.0.199 (#785)
Bumps [@vx/tooltip](https://github.com/hshoff/vx) from 0.0.197 to 0.0.199.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.197...v0.0.199)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:51 +08:00
dependabot-preview[bot]
987bc30008 build(deps): bump @vx/responsive from 0.0.197 to 0.0.199 (#780)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.197 to 0.0.199.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.197...v0.0.199)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:51 +08:00
Victor Malai
d58984aeb6 feat(legacy-preset-chart-nvd3): subject Add Y bounds for nvd3 charts (#908)
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2021-11-26 11:46:50 +08:00
bryanck
4db360c0a6 fix: remove max-width from tooltip div (#909)
* fix: remove max-width from tooltip div

* remove unused parameter

Co-authored-by: Bryan Keller <bkeller@netflix.com>
2021-11-26 11:46:50 +08:00
Yongjie Zhao
114d78ed33 chore: move all controls for NVD3 and Big Number charts to separate rows (#913) 2021-11-26 11:46:50 +08:00
Ville Brofeldt
4fb5047f1b chore: publish v0.16.10 2021-11-26 11:46:50 +08:00
Kamil Gabryjelski
368e19805d fix(legacy-preset-chart-nvd3): remove data fetching from multiline chart (#899)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@polidea.com>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-26 11:46:50 +08:00
Ville Brofeldt
6db9aef217 chore: publish v0.16.9 2021-11-26 11:46:50 +08:00
Ville Brofeldt
54948a091d feat(plugin-chart-echarts): add legend customization options (#833) 2021-11-26 11:46:50 +08:00
Victor Malai
f0596103a8 feat(legacy-plugin-chart-histogram): subject Add legend option to histogram chart (#905) 2021-11-26 11:46:50 +08:00
Victor Malai
d02f17c098 feat(legacy-preset-chart-nvd3): subject Add legend option to nvd3 chart (#904) 2021-11-26 11:46:50 +08:00
Victor Malai
bee49e7d4b feat(plugin-chart-echarts): Add xAxis label format && showMin and showMax labels (#894)
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2021-11-26 11:46:49 +08:00
Victor Malai
3170f24aff fix(legacy-preset-chart-nvd3): make wide bar chart scrollable (#903) 2021-11-26 11:46:49 +08:00
Evan Rusackas
cf42782fff chore: publish v0.16.8 2021-11-26 11:46:49 +08:00
Phillip Kelley-Dotson
09c890a7df update big number options contorl (#896) 2021-11-26 11:46:49 +08:00
Victor Malai
4e27daf8a2 fix: subject Remove margin to fit last label (#900) 2021-11-26 11:46:49 +08:00
Evan Rusackas
fb537807d2 chore: publish v0.16.7 2021-11-26 11:46:49 +08:00
Ville Brofeldt
1e8cb81531 fix(plugin-chart-echarts): remove columns from formData (#901) 2021-11-26 11:46:49 +08:00
Jesse Yang
d8e1bbb9dd chore: upgrade eslint and babel (#892) 2021-11-26 11:46:49 +08:00
Agata Stawarz
b695fc2815 fix(plugin-chart-word-cloud): ensure top results are always displayed (#841)
While resizing chart sometimes top results were filtered out because their sizes were too big. This
solution makes sure that top 10% of results will always be displayed by gradually scaling down the
chart if needed.
2021-11-26 11:46:49 +08:00
Phillip Kelley-Dotson
6bc19899fa chore: publish v0.16.6 2021-11-26 11:46:48 +08:00
Phillip Kelley-Dotson
9e3c8679cb chore: Update controls for rolling window (#895) 2021-11-26 11:46:48 +08:00
Mayur Newase
d3bc0894c5 fix(legacy-plugin-chart-pivot-table): pivot table chart string aggregation empty values (#880)
* fix(legacy-plugin-chart-pivot-table): empty value for string aggregate

* fix(plugin): bug fix

* fix(plugin): fix test

* fix(test): fixted function name

* lint fixed

* lint

* handle null values

* nit picks

* js to ts

* nit picks

* null values fixed

* eq fixed
2021-11-26 11:46:48 +08:00
Phillip Kelley-Dotson
b5e8c29353 update layout control for rolling window (#890) 2021-11-26 11:46:48 +08:00
Evan Rusackas
93c37cdd50 chore: publish v0.16.5 2021-11-26 11:46:48 +08:00
Evan Rusackas
066b830ddd chore: bumping nvd3-fork package (#891) 2021-11-26 11:46:48 +08:00
Ville Brofeldt
c0a9fb7ad3 chore: publish v0.16.4 2021-11-26 11:46:48 +08:00
Ville Brofeldt
bc3aee258b chore: publish v0.16.3 2021-11-26 11:46:47 +08:00
simchaNielsen
16225132c2 chore(core): remove queryData and replace with queriesData (#874)
* feat: remove single queryData from api

* feat: migrate old plugins to queriesData api property

* test: fix tests

* test: fix tests

* fix: fix storybook

* lint: fix lint

* refactor: fix CR notes

* refactor: remove queryData from Chart Provider
2021-11-26 11:46:47 +08:00
Jesse Yang
b9b7f767df chore: publish v0.16.2 2021-11-26 11:46:47 +08:00
Ville Brofeldt
146f9a4dfd fix: fix nvd3 and histogram regressions and migrate control panels to TS (#875)
* chore: add types to all control panels

* move nvd3 shared section to individual viz
2021-11-26 11:46:47 +08:00
Jesse Yang
ddfcb47dd1 chore: publish v0.16.1 2021-11-26 11:46:47 +08:00
Jesse Yang
55ee542813 refactor: remove queryFields from formData and improve typing (#862) 2021-11-26 11:46:47 +08:00
Ville Brofeldt
dbe6df6044 chore: publish v0.16.0 2021-11-26 11:46:46 +08:00
Ville Brofeldt
4e39e9e683 chore(chart-controls): remove dedicated time section (#869) 2021-11-26 11:46:46 +08:00
David Aaron Suddjian
43a72919d6 chore: publish v0.15.19 2021-11-26 11:46:46 +08:00
Evan Rusackas
cb52d87fe4 chore: publish v0.15.18 2021-11-26 11:46:46 +08:00
Jesse Yang
05f335477d test: use stable random for stories (#861)
* test: use stable random for stories

* Seed with superset-ui

* Add tests for random
2021-11-26 11:46:46 +08:00
Mayur Newase
e4ebd828fe fix(legacy-plugin-chart-histogram): fixes legend overflow (#863)
* fix(legacy-plugin-chart-histogram): fixes legend onverflow

* Update plugins/legacy-plugin-chart-histogram/src/WithLegend.jsx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-11-26 11:46:46 +08:00
Jesse Yang
286255d85a build: remove nimbus (#847) 2021-11-26 11:46:46 +08:00
Kamil Gabryjelski
b5f5bd1182 fix(legacy-preset-chart-nvd3): make deep copy of queryData (#855)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@polidea.com>
2021-11-26 11:46:45 +08:00
Evan Rusackas
2a9dd04b5f chore: publish v0.15.17 2021-11-26 11:46:45 +08:00
Ville Brofeldt
8c4c4ef020 feat(plugin-chart-echarts): bump to version 5.0 (#852)
merge to test feat: Results table on Explore view #11854
2021-11-26 11:46:45 +08:00
Ville Brofeldt
a6d8f57bce fix(demo): add antd css and implement action hook (#851) 2021-11-26 11:46:45 +08:00
Evan Rusackas
741ea10ad4 refactor: Relocating/renaming various chart controls (#836)
* refactor: relocating/renaming various chart controls

* typo

* Reverting to "additional metadata"
2021-11-26 11:46:45 +08:00
Krist Wongsuphasawat
14b7ad4dea chore: publish v0.15.16 2021-11-26 11:46:45 +08:00
Krist Wongsuphasawat
778a7a5865 fix(legacy-preset-chart-nvd3): time compare and stacked area tooltips (#850)
* fix: time compare tooltip

* refactor: create separate function

* refactor: remove fn

* fix: area chart tooltip
2021-11-26 11:46:45 +08:00
Ville Brofeldt
317ee2289e chore: publish v0.15.15 2021-11-26 11:46:44 +08:00
Ville Brofeldt
a52cd691f0 feat: native filter components (#840)
* feat: add AntD filter components

* add missing files

* add filter hook

* fix hook name

* required thumbnail

* add native filters to where clause

* add isNativeFilter flag to ChartMetadata

* rename native_filters to extra_form_data

* lint

* move hook to SuperChart props

* add NOOP default to setSelectedValues

* replace extra_form_data with override_ and append_

* add support for appending freeform where

* address review comments

* Add default values

* Update packages/superset-ui-core/test/query/processExtraFormData.test.ts

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update packages/superset-ui-core/test/query/processExtraFormData.test.ts

Co-authored-by: Evan Rusackas <evan@preset.io>

* add storybook entry and change width to 100%

* add placeholder

* add default thumbnails

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-11-26 11:46:44 +08:00
Ville Brofeldt
6a42164a57 fix(legacy-plugin-chart-pivot-table): remove nulls from table (#839) 2021-11-26 11:46:44 +08:00
Ville Brofeldt
ad60fddccb chore: publish v0.15.14 2021-11-26 11:46:44 +08:00
Ville Brofeldt
2a81e9fb23 chore: bump mathjs to latest version on all plugins (#832) 2021-11-26 11:46:44 +08:00
Jesse Yang
b351e3de08 chore: publish v0.15.13 2021-11-26 11:46:44 +08:00
Ville Brofeldt
8bfaf4eb0e feat(plugin-chart-echarts): implement event interval and timeseries annotations (#828) 2021-11-26 11:46:44 +08:00
Jesse Yang
5f5e275279 feat(legacy-plugin-chart-sankey): allow sort by metric (#831) 2021-11-26 11:46:44 +08:00
Ville Brofeldt
dc1f82dfce fix: point version badge to npm page (#821) 2021-11-26 11:46:43 +08:00
Ville Brofeldt
6ee2c9af88 chore: publish v0.15.12 2021-11-26 11:46:43 +08:00
Ville Brofeldt
387c863682 feat(plugin-chart-echarts): make groupby optional (#820) 2021-11-26 11:46:43 +08:00
Ville Brofeldt
06ef549122 feat(plugin-chart-echarts): add support for formula annotations (#817)
* feat(plugin-chart-echarts): add support for formula annotations

* address comments
2021-11-26 11:46:43 +08:00
Erik Ritter
85f9cdad0a feat: update time_compare description and choices (#818)
* feat: update time_compare description and choices

* Update NVD3Controls.tsx

* Update controlPanel.jsx
2021-11-26 11:46:42 +08:00
Ville Brofeldt
43dca9e46d chore: publish v0.15.11 2021-11-26 11:46:42 +08:00
Ville Brofeldt
fb30d687b7 fix(plugin-chart-echarts): improve yAxisBounds parsing (#815) 2021-11-26 11:46:42 +08:00
Ville Brofeldt
1d8f559feb fix(plugin-chart-echarts): disable pie chart animation (#816) 2021-11-26 11:46:42 +08:00
Ville Brofeldt
0e20d157df chore: publish v0.15.10 2021-11-26 11:46:42 +08:00
Ville Brofeldt
5217f11902 chore: publish v0.15.9 2021-11-26 11:46:42 +08:00
Ville Brofeldt
fdd806723b fix(plugin-chart-echarts): fix default y axis bounds (#810) 2021-11-26 11:46:42 +08:00
Jesse Yang
16d14fd1f9 chore: publish v0.15.8 2021-11-26 11:46:42 +08:00
Jesse Yang
e5226c9757 fix(legacy-preset-chart-nvd3): custom yAxisFormat for contribution (#808) 2021-11-26 11:46:41 +08:00
Ville Brofeldt
aec2d54b5f chore: publish v0.15.7 2021-11-26 11:46:41 +08:00
Ville Brofeldt
adaa5f89e6 fix(plugin-chart-echarts): improve ECharts visuals (#806)
* feat(plugin-chart-echarts): add truncate y-axis feature

* fix(plugin-chart-echarts): improve ECharts visuals

* add desc ordering

* address comments

* simplify isNaN check
2021-11-26 11:46:41 +08:00
Ville Brofeldt
601af08ce9 chore: publish v0.15.6 2021-11-26 11:46:41 +08:00
Ville Brofeldt
a8a910f516 chore(plugin-chart-echarts): rename boxplot type to whisker_type (#804) 2021-11-26 11:46:41 +08:00
Ville Brofeldt
ae3132892b chore: publish v0.15.5 2021-11-26 11:46:41 +08:00
Ville Brofeldt
88acb6ba9d feat(plugin-chart-echarts): add BoxPlot chart (#801)
* feat(plugin-chart-echarts): add BoxPlot chart

* make headline stand out

* address comments
2021-11-26 11:46:41 +08:00
Ville Brofeldt
fe2b871a10 chore: publish v0.15.4 2021-11-26 11:46:41 +08:00
Ville Brofeldt
5d70fd3946 fix(plugin-chart-echarts): fix incorrect groupby in buildQuery (#800) 2021-11-26 11:46:41 +08:00
Evan Rusackas
3c7320eb10 fix: copying controls from Sankey to Sankey Loop (#797) 2021-11-26 11:46:41 +08:00
Jesse Yang
c79649328a chore: publish v0.15.3 2021-11-26 11:46:40 +08:00
Ville Brofeldt
66e681cbab feat(plugin-chart-echarts): add more robust formatting for series (#783) 2021-11-26 11:46:40 +08:00
Ville Brofeldt
e71af2f2b1 fix(plugin-chart-word-cloud): make colors schemes work (#788) 2021-11-26 11:46:40 +08:00
Ville Brofeldt
e918c04090 feat(plugin-chart-echarts): remove loading from timeseries tooltip (#787) 2021-11-26 11:46:40 +08:00
ʈᵃᵢ
ec1a1a2ec5 fix: update lineMulti when queryData changes (#782) 2021-11-26 11:46:40 +08:00
Jesse Yang
5a91f0a043 chore: publish v0.15.2 2021-11-26 11:46:40 +08:00
Ville Brofeldt
2169a0b37e feat: implement ECharts pie chart (#772) 2021-11-26 11:46:40 +08:00
Jesse Yang
4004eaa281 chore: move all superset-ui/core deps out of peerDependencies (#779) 2021-11-26 11:46:39 +08:00
Jesse Yang
4a3e11c47c chore: publish v0.15.1 2021-11-26 11:46:39 +08:00
Jesse Yang
104c1b597a fix: add back nvd3 missing css (#776) 2021-11-26 11:46:39 +08:00
Jesse Yang
1862341226 refactor: convert legacy-plugin-chart-event-flow to typescript (#771)
* refactor: convert legacy-plugin-chart-event-flow to typescript

* retype TimeseriesDataRecord in ECharts
2021-11-26 11:46:39 +08:00
Jesse Yang
f28cd3f9c5 build: enable skipLibCheck for tsc (#769)
* build: enable skipLibCheck for tsc

* improve tsc configs
2021-11-26 11:46:39 +08:00
Jesse Yang
047ad3c0c5 chore: compress thumbnail images with pngquant (#770) 2021-11-26 11:46:39 +08:00
Jesse Yang
9cc96b96f4 chore: move @types/react to peerDependencies (#774)
* chore: move @types/react to peerDependencies

* chore: move react-bootstrap and react-loadable to peerDependencies, too
2021-11-26 11:46:39 +08:00
Jesse Yang
1856dce5d7 chore: publish v0.15.0 2021-11-26 11:46:38 +08:00
Jesse Yang
415ce5efd8 refactor: merge core superset-ui packages (#768)
1. move translation, connection, query to core (#729)
2. update encodable to remove formatter inter-dependency (#744)
3. move number-format and time-format to core (#730)
4. move superset-ui/dimension to core (#732)
5. move superset-ui/color to core (#755)
6. move superset-ui/style to core (#756)
7. move superset-ui/validator to core (#757)
8. move superset-ui/chart-composition to core (#759)
9. move superset-ui/chart to core (#760)
2021-11-26 11:46:38 +08:00
Ville Brofeldt
68c5beb1b5 fix(legacy-preset-chart-nvd3): remove unnecessary control override (#767) 2021-11-26 11:46:38 +08:00
Shaoqing Hu
8c2a91ecf6 add tooltip.confine = true (#764) 2021-11-26 11:46:38 +08:00
Ville Brofeldt
13831d8de9 chore: publish v0.14.23 2021-11-26 11:46:38 +08:00
Ville Brofeldt
e916fd9015 feat: Add ECharts Timeseries plugin (#737)
* make it work

* Add color scheme and timeseries limits

* latest improvements

* bump

* moving dependencies to plugin

* Shuffling logic to transformProps, making Typescript happy.

* zoom controls!

* declaration for the dang PNG files

* Revert "declaration for the dang PNG files"

This reverts commit b37f01076e36ba2b05424f861187a182f4d327d6.

* PIE! (super basic)

* lowercase import name, moving types.

* capitalization fix

* nixing console log

* removing echarts peer dependency (missed it earlier)

* basic pie controls/types

* typescript fixes and whatnot

* yarn alphabetizing peerDependencies

* fixing Pie chart typing

* less enthusiasm

* fixing resize and data redraw quirks

* fixing zoom display quirks

* add predictive analytics

* fix controls

* improve typing and tests

* add rebasing to forecasts

* improve stacking etc

* Minor improvements

* add tooltip

* Charts draw and resize correctly

* clean up code

* lint

* yet more lint

* fix unit tests

* fix unit tests

* fix tests

* add useEchartsComponent and address comments

* address comments

* address more comments

* Add Echart component

* bump echarts to 4.9.0

* clean up Echart component

* add storybook

* replace radios with boolean

* address review comments

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-11-26 11:46:37 +08:00
Jesse Yang
46ea73953b chore: clean up a couple of TypeScript warnings (#754) 2021-11-26 11:46:37 +08:00
Phillip Kelley-Dotson
a7dfee8717 chore(legacy-chart-nvd3): convert nvd3 to emotion style (#692)
* convert nvd3 to emotion style

* update package

* Update ReactNVD3.jsx
2021-11-26 11:46:37 +08:00
Grace Guo
149c175617 chore: remove iframe and markup viz type support (#746) 2021-11-26 11:46:37 +08:00
Ville Brofeldt
5dd6e66fff chore: publish v0.14.21 2021-11-26 11:46:36 +08:00
Ville Brofeldt
baf2b68356 feat(legacy-plugin-chart-pivot-table): add support for timestamp format (#734)
* feat(legacy-plugin-chart-pivot-table): add support for timestamp format

* add @superset-ui/time-format to deps

* add granularity formatter and apply conditional date formatting to cells

* flip if order
2021-11-26 11:46:36 +08:00
Mike Du
12bfdb2767 fix: dist bar will render value multi times (#713) 2021-11-26 11:46:36 +08:00
Jesse Yang
971eb03f0e chore: publish v0.14.20 2021-11-26 11:46:36 +08:00
Jesse Yang
6def6b4c0b feat: properly translate the table chart (#724) 2021-11-26 11:46:36 +08:00
Maxime Beauchemin
43177957ca feat: improve world map colors (#711)
* feat: improve world map colors

* sqrt

* addressing comment

* ad d3-color
2021-11-26 11:46:36 +08:00
Jesse Yang
835335d3e4 feat: align metrics title to the right (#721) 2021-11-26 11:46:36 +08:00
Ville Brofeldt
bd83ba48a6 chore: publish v0.14.18 2021-11-26 11:46:35 +08:00
Ville Brofeldt
5908582d00 feat(legacy-plugin-chart-sunburst): add linear color scheme (#714) 2021-11-26 11:46:35 +08:00
Jesse Yang
2f724ea3e7 chore: publish v0.14.17 2021-11-26 11:46:35 +08:00
dependabot-preview[bot]
48bf531d04 build(deps): bump @vx/axis from 0.0.197 to 0.0.198 (#683)
Bumps [@vx/axis](https://github.com/hshoff/vx) from 0.0.197 to 0.0.198.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.197...v0.0.198)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:35 +08:00
Stuart Hu
d9a2808fe3 feat(legacy-preset-chart-nvd3): add a new label type to pie chart (#699) 2021-11-26 11:46:35 +08:00
Jesse Yang
da59465122 chore: publish v0.14.16 2021-11-26 11:46:35 +08:00
Jesse Yang
33d2fa155f fix: charts rerender with zero-height during tab switch (#703) 2021-11-26 11:46:35 +08:00
dependabot-preview[bot]
a07c831eb2 build(deps): bump @vx/legend from 0.0.197 to 0.0.198 (#673)
Bumps [@vx/legend](https://github.com/hshoff/vx) from 0.0.197 to 0.0.198.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.197...v0.0.198)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:34 +08:00
dependabot-preview[bot]
10cfefffb0 build(deps): bump @vx/event from 0.0.197 to 0.0.198 (#672)
Bumps [@vx/event](https://github.com/hshoff/vx) from 0.0.197 to 0.0.198.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.197...v0.0.198)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:34 +08:00
Phillip Kelley-Dotson
c783411fcf chore(plugin-chart-parallel-coordinates): convert para coords chart to emotion styling (#641)
* convert para coords chart to emotion styling

* Update package.json

* Update index.js

* Update package.json

* Update package.json
2021-11-26 11:46:34 +08:00
Ville Brofeldt
018da38dab chore: publish v0.14.14 2021-11-26 11:46:34 +08:00
Ville Brofeldt
4306386946 fix(legacy-plugin-chart-pivot-table): formatting non-numeric values (#695)
* fix(legacy-plugin-chart-pivot-table): formatting non-numeric values

* simplify logic
2021-11-26 11:46:34 +08:00
Ville Brofeldt
79c4f3f2ab feat(legacy-plugin-chart-rose): add time grain (#696) 2021-11-26 11:46:34 +08:00
Ville Brofeldt
67a0543bff chore: publish v0.14.13 2021-11-26 11:46:34 +08:00