Yongjie Zhao
bbbe102887
feat(standardized form data): keep all columns and metrics ( #20377 )
2022-06-24 21:46:25 +08:00
Yongjie Zhao
c79b0d62d0
refactor: create echarts query section ( #20445 )
2022-06-21 11:38:07 +08:00
Yongjie Zhao
111affdb02
chore: move xaxis to superset-ui ( #20438 )
2022-06-20 22:36:27 +08:00
Stephen Liu
b32288fddf
fix(bar-chart-v2): remove marker from bar chart V2 ( #20409 )
2022-06-17 10:52:26 +08:00
Kamil Gabryjelski
c959d92dd1
feat(plugin-chart-echarts): Support stacking negative and positive values ( #20408 )
2022-06-16 13:58:58 +02:00
Yongjie Zhao
0a50a9b380
feat: setting limit value when Pie chart switches ( #20392 )
2022-06-15 21:49:00 +08:00
Yongjie Zhao
7c252d7524
feat: adding truncate metric control on timeseries charts ( #20373 )
2022-06-15 20:55:10 +08:00
Kamil Gabryjelski
354a89950c
feat(explore): Denormalize form data in echarts, world map and nvd3 bar and line charts ( #20313 )
...
* feat(explore): Apply denormalize form data function to echarts and world map
* Denormalize form data in mixed timeseries
* Add dist bar chart
2022-06-09 11:54:09 +02:00
Stephen Liu
eab0009101
feat(plugin-chart-echarts): [feature-parity] support extra control for the area chart V2 ( #16493 )
...
* feat(echarts): [feature-parity] support extra control
* add extra control for plugin
* refactor: extract ExtraControl
* fix: lint
* fix some problems
2022-06-09 00:59:10 +08:00
Stephen Liu
9f02ff656d
fix(plugin-chart-echarts): [feature-parity] apply button of annotation layer doesn't work as expected ( #19761 )
...
* fix(plugin-chart-echarts): [feature-parity] apply button of annotation layer does't work
* fix: lint
* fix: test
2022-06-08 17:06:24 +08:00
Yongjie Zhao
7faf874c1b
feat: derived metrics use different line style ( #20242 )
2022-06-05 21:17:31 +08:00
Yongjie Zhao
dd4b581fb5
feat: standardized form_data ( #20010 )
2022-06-05 21:05:01 +08:00
Yongjie Zhao
d7e3ac306f
chore: filter undefined operators ( #20157 )
2022-05-23 18:24:32 +08:00
Ville Brofeldt
d5c5e58583
feat(plugin-chart-echarts): add support for generic axis to mixed chart ( #20097 )
...
* feat(plugin-chart-echarts): add support for generic axis to mixed chart
* fix tests + add new tests
* address review comments
* simplify control panel
* fix types and tests
2022-05-19 13:51:52 +03:00
Ville Brofeldt
0b3d3dd4ca
fix(generic-chart-axes): set x-axis if unset and ff is enabled ( #20107 )
...
* fix(generic-chart-axes): set x-axis if unset and ff is enabled
* simplify
* simplify
* continue cleanup
* yet more cleanup
2022-05-19 13:21:25 +03:00
Stephen Liu
9854d2d0e8
feat(plugin-chart-echarts): support horizontal bar chart ( #19918 )
...
* feat(plugin-chart-echarts): support horizontal bar chart
* Update superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/controlPanel.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Update superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Update superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/controlPanel.tsx
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* improve controlpanel
* default value
* fix ut
Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-05-16 21:48:36 +08:00
Ville Brofeldt
d5802f7896
fix(generic-axes): apply contribution before flatten ( #20077 )
2022-05-16 16:26:31 +03:00
smileydev
f43dbc0dfd
fix(chart & gallery): make to add mixed time-series into recommended charts ( #20064 )
2022-05-14 11:20:49 +08:00
Stephen Liu
35e6e2709c
fix(plugin-chart-echarts): tooltip of big number truncated at then bottom ( #20029 )
2022-05-13 22:51:42 +08:00
Ville Brofeldt
b53daa91ec
fix(plugin-chart-echarts): support adhoc x-axis ( #20055 )
...
* fix(plugin-chart-echarts): support adhoc x-axis
* simplify code
2022-05-13 16:29:51 +03:00
Michael S. Molina
c4c714fffb
chore: Removes hard-coded colors from the plugins - iteration 2 ( #20006 )
...
* chore: Removes hard-coded colors from the plugins - iteration 2
* Fixes lint errors
2022-05-12 10:12:17 -03:00
Michael S. Molina
e9032e95ec
chore: Adds theme object to chart properties ( #19951 )
2022-05-04 09:55:22 -03:00
smileydev
7b3d0f040b
feat(chart & legend): make to enable show legend by default ( #19927 )
2022-05-02 14:37:11 -06:00
Stephen Liu
11562971fb
fix(plugin-chart-echarts): [feature parity] annotation line chart color not working ( #19758 )
2022-04-28 19:10:58 +03:00
Yongjie Zhao
f5e9f0eb3b
feat: add Advanced Analytics into mixed time series chart ( #19851 )
2022-04-27 23:36:19 +08:00
Josh Soref
bebb10e495
chore(frontend-tests): Spelling ( #19853 )
...
* spelling: against
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: been
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: charts
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: clicking
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: columns
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: duplicate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: especially
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: extensions
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: fields
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: filter
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: for
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: label
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: labeled
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: nativefilter
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: registry
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: render
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: resizable
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: response
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: successful
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: transform
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unfortunately
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: until
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: virtual
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: wrapper
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-04-26 10:35:01 -07:00
Yongjie Zhao
108a2a4eaf
fix: lost renameOperator in mixed timeseries chart ( #19802 )
2022-04-21 15:20:09 +08:00
Stephen Liu
e3a54aa3c1
feat(explore): improve UI in the control panel ( #19748 )
...
* feat(explore): improve section header of control panel
* fix checkbox control color and radio button color
2022-04-20 15:06:33 +02:00
Yongjie Zhao
4f997cd9ac
chore: fix grammar error ( #19740 )
2022-04-20 21:02:14 +08:00
Yongjie Zhao
3c28cd4625
feat: add renameOperator ( #19776 )
2022-04-20 19:48:12 +08:00
Kamil Gabryjelski
de9fb2109d
chore(explore): Change labels "Group by"/"Series" to "Dimensions" ( #19647 )
2022-04-13 15:16:03 +02:00
Stephen Liu
059cb4ec25
fix(plugin-chart-echarts): xAxis scale is not correct when setting quarter time grain ( #19686 )
2022-04-13 20:48:13 +08:00
Ville Brofeldt
f21ba68a30
chore: clean up dynamic translation strings ( #19641 )
2022-04-11 13:02:20 +03:00
Stephen Liu
a6bf041edd
feat(plugin-chart-echarts): add aggregate total for the Pie/Donuct chart ( #19622 )
2022-04-11 13:56:45 +08:00
Yongjie Zhao
761d5c4208
chore: cleanup as unknown conversion ( #19587 )
2022-04-08 17:32:29 +08:00
Yongjie Zhao
2daa071633
fix: big number with trendline can't calculate cumsum ( #19542 )
2022-04-06 19:23:01 +08:00
Michael S. Molina
356a03833b
chore: Removes hard-coded opacity and spacing from BigNumber ( #19536 )
2022-04-06 07:38:33 -03:00
Ville Brofeldt
11bf0d09cb
chore(plugin-chart-echarts): upgrade echarts 5.3.2 ( #19481 )
2022-04-01 13:05:03 +03:00
Stephen Liu
6f5778273e
chore: add type checking in plugin test directory ( #19387 )
2022-03-28 10:20:06 +08:00
Yongjie Zhao
375c03e084
feat(advanced analysis): support MultiIndex column in post processing stage ( #19116 )
2022-03-23 13:46:28 +08:00
Kamil Gabryjelski
a8a48af7fa
chore: Make font-weights themable, fix font faces ( #19236 )
...
* fix(fonts): Import all necessary font packages
* Make html tags themable
* Set bold font weight to 600, add medium font weight to theme
* Replace hard coded font weights with theme variables
* Change some font weight light elements to normal
* Fix tests
* Fix bug in pivot table
* Address code review comments
2022-03-22 09:36:15 +01:00
Stephen Liu
dc575080d7
feat: improve color consistency (save all labels) ( #19038 )
2022-03-21 15:20:04 +08:00
Stephen Liu
10eb6c77a4
chore: use order_desc shared control consistently ( #19172 )
2022-03-18 21:28:47 +08:00
smileydev
c79ee56884
fix(plugin-chart-echarts): make to allow the custome of x & y axis title margin i… ( #18947 )
...
* fix(chartviz): make to allow the custome of x & y axis title margin in chart
* fix(chartviz): add eslint radix error in chart.js
* fix(chartviz): change the transformProps in chart plugin & creat helper.
* fix(chartviz): lint fix & chart.js back
* fix(plugin-chart-echarts): make to allow the custom margin of X & y axis in BoxPlot & Mixedtimeseries charts
* fix(plugin-chart-echarts): make to change changeNumber to changeInteger
* fix(plugin-chart-echarts): make to add license & change file name
2022-03-10 12:59:07 +01:00
Diego Medina
0e0beceac1
fix: Pivot Table Conditional Formatting Doesn't Show All Options ( #19071 )
...
* fix: Pivot Table Conditional Formatting Doesn't Show All Options
* PR comments
* PR comments
2022-03-09 15:04:04 -07:00
Ville Brofeldt
1b7d056126
chore(plugin-chart-echarts): bump echarts 5.3.1 ( #19041 )
2022-03-07 14:29:16 +02:00
Stephen Liu
c32eaf47e5
fix(big-number): Big Number with Trendline Chart is not working if Time Grain is set to Month ( #19043 )
...
* fix(big-number): Big Number with Trendline Chart is not working if Time Grain is set to Month
* use start frequency.
2022-03-07 11:29:34 +02:00
Stephen Liu
c4e3c45b3c
fix(plugin-chart-echarts): fix customize margin ( #18958 )
2022-02-28 23:53:53 -07:00
Yongjie Zhao
987740aa8d
fix: contribution operator meets nan value ( #18782 )
2022-02-18 23:28:28 +08:00
Geido
f565230d8d
fix(Explore): Force different color for same metrics in Mixed Time-Series ( #18603 )
...
* Force different color for same metrics
* Conform to chart labels suffix
* Simplify
2022-02-10 16:21:47 +02:00
Ville Brofeldt
2929bb1680
fix(plugin-chart-echarts): fix forecasts on verbose metrics ( #18252 )
...
* fix(plugin-chart-echarts): fix forecasts on verbose metrics
* oops! 🙊
* check for DTTM_ALIAS
2022-02-02 13:51:51 +02:00
Ville Brofeldt
cec4677971
fix(plugin-chart-echarts): use verbose x-axis name when defined ( #18217 )
2022-01-28 16:45:57 +02:00
Kamil Gabryjelski
37430d4044
fix(explore): Pie chart label formatting when series is temporal ( #18216 )
2022-01-28 15:14:40 +01:00
Ville Brofeldt
dbe0a8b519
chore: bump echarts to 5.3.0 ( #18162 )
...
* chore: bump echarts to 5.3.0
* change to official 5.3.0 and reintroduce bold effect
2022-01-27 11:26:00 +02:00
Ville Brofeldt
e9651ea52f
feat(plugin-chart-echarts): support non-timeseries x-axis ( #17917 )
...
* feat(plugin-chart-echarts): support non-timeseries x-axis
* fix tests
* change formula return type from Date to number
* add x_axis test coverage
* rename func and improve coverage
* add x-axis control to bar chart
* remove redundant console.log
* fix description
* make x-axis control mandatory
* 🙃
* fix x-axis formatter
* fix showValues
* fix implicit rDTTM_ALIAS references in postProcessing
* replace TIME_COLUMN with DTTM_ALIAS
* fix remaining implicit indexes
* fix: Disable filtering on wide result sets (#18021 )
* fix: handle null values in time-series table (#18039 )
* cleanup column_type_mappings (#17569 )
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* important change to MakeFile (#18037 )
* add missing is_timeseries to pivot op
Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
Co-authored-by: Grace Guo <grace.guo@airbnb.com>
Co-authored-by: Đặng Minh Dũng <dungdm93@live.com>
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2022-01-21 21:23:23 +02:00
Ville Brofeldt
de8a1fa9c6
chore(plugin-chart-echarts): add types to controls ( #18059 )
2022-01-16 14:21:47 +02:00
Corbin Robb
6bd4dd257a
feat(timeseries-chart): add percentage threshold input control ( #17758 )
...
* feat(timeseries-chart): add percentage threshold control for stack series labels
* feat: move threshold vlues to an array
* add tests for showValue, onlyTotal, and percentThreshold
* feat: add another test
* revert ChartProps typesetting, fix misnamed variable on form data type, and other minor changes
* fix percentage threshold push equation
* fix percentage threshold push equation in tests
* change default on control to match form
* attempt fix form defaults import
Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2022-01-12 14:46:27 -06:00
Yongjie Zhao
e91b9a678f
refactor: move superset-ui dependencies to peerDependencies ( #17965 )
...
* chore: add commit message
* update learn
* update superset-ui-demo
* move superset-ui into peerDeps
* add --no-private argument in lerna version
* fix conflicts
* refresh lock file
2022-01-11 13:53:37 +08:00
Yongjie Zhao
cb97e37a92
refactor: import value name from root of superset-ui/core ( #17947 )
...
* chart
* index and number-format
* char-composition and color
* connection
* dimension and math-expression
* models
* query
* time-format
* residual modules
* change config of jest and eslint
config
* wip
update package.json
* fix lint
* WithLegend import from superset-ui/core
2022-01-08 09:16:24 +08:00
Stephen Liu
d5768ab649
fix(explore): make SORT-Descending visible if Sort-by has value ( #17726 )
2021-12-21 15:27:21 +08:00
Kamil Gabryjelski
124af4c566
chore(explore): Migrate BigNumber to v1 api [ID-28][ID-55] ( #17587 )
...
* chore(explore): Migrate BigNumber to v1 api
* Move to echarts
* Use Echarts trendline
* Fix imports
* Fix parsing dates as strings
* Add from_dttm and to_dttm to v1 chart response
* Fix post processing
* Fix timeRangeFixed
* Fix tests
* Remove from and to dttm from cache
* Cleanup date formatting
* Fix storybook
* Fix missing types
* Fix timestamp with timezone
* Add types to demo's tsconfig
* bug fix
* fix import
* Fix cypress tests
* add sort
* add resample to handle missing values properly
* Sync ChartDataResponseResult schema with ts interface
* Lint fix
* Add migration
* Fix migration
* Remove pass
* Re-raise the exception in migration
* Typo fix
* Update revision
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-12-15 10:15:14 +01:00
Yahya Kayani
89d0d38ed0
fix(Mixed Timeseries Chart): Custom Metric Label ( #17649 )
...
* fix(Mixed Timeseries Chart): Custom Metric Label
* Fixed Formatting
* Fixed Type mismatch from queryFormData
* Reverted type change and used extracted datasource
* Type fix for mapping
2021-12-14 08:41:04 +02:00
Yongjie Zhao
3c41ff68a4
refactor(monorepo): move superset-ui to superset(stage 2) ( #17552 )
2021-11-30 08:29:57 +08:00