Commit Graph

68 Commits

Author SHA1 Message Date
Ville Brofeldt
97c6af196e fix(generic-axes): apply contribution before flatten (#20077)
(cherry picked from commit d5802f7896)
2022-05-26 10:28:14 -03:00
Ville Brofeldt
4e44f4cc11 fix(plugin-chart-echarts): support adhoc x-axis (#20055)
* fix(plugin-chart-echarts): support adhoc x-axis

* simplify code

(cherry picked from commit b53daa91ec)
2022-05-26 10:28:13 -03:00
Yongjie Zhao
4fa96d3a3b fix: lost renameOperator in mixed timeseries chart (#19802)
(cherry picked from commit 108a2a4eaf)
2022-04-25 10:46:53 +03:00
Yongjie Zhao
8c8bbfb89f feat: add renameOperator (#19776)
(cherry picked from commit 3c28cd4625)
2022-04-25 10:46:53 +03:00
Yongjie Zhao
d99a9a4134 fix: big number with trendline can't calculate cumsum (#19542)
(cherry picked from commit 2daa071633)
2022-04-08 16:41:32 +03:00
Ville Brofeldt
f44ed063e8 chore(plugin-chart-echarts): upgrade echarts 5.3.2 (#19481)
(cherry picked from commit 11bf0d09cb)
2022-04-04 11:00:48 +03:00
Michael S. Molina
a96ff005fd refactor: Removes the CSS files from the Heatmap plugin (#19417)
* refactor: Removes the CSS files from the Heatmap plugin

* Adds peer dependencies

(cherry picked from commit ac6b2f2d93)
2022-04-04 11:00:46 +03:00
Michael S. Molina
70d800dc27 refactor: Removes the CSS files from the Calendar Heatmap plugin (#19436)
(cherry picked from commit 13467beb53)
2022-04-04 11:00:46 +03:00
Michael S. Molina
99c8f9bd13 chore: Removes plugin-chart-pivot-table hard-coded colors (#19439)
(cherry picked from commit 31095a523d)
2022-04-04 11:00:46 +03:00
Michael S. Molina
91bf9bd68b chore: Removes hard-coded colors from legacy-preset-chart-nvd3 (#19443)
(cherry picked from commit 47abad8673)
2022-04-04 11:00:45 +03:00
Stephen Liu
fb0ae24c6b chore: add type checking in plugin test directory (#19387)
(cherry picked from commit 6f5778273e)
2022-04-03 19:03:58 +03:00
Yongjie Zhao
9bc76337cf feat(advanced analysis): support MultiIndex column in post processing stage (#19116) 2022-04-03 19:00:01 +03:00
Kamil Gabryjelski
19ee561092 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-04-03 18:56:12 +03:00
Stephen Liu
7d239b8958 feat: improve color consistency (save all labels) (#19038)
(cherry picked from commit dc575080d7)
2022-04-03 14:10:47 +03:00
Stephen Liu
33beba96e3 chore: use order_desc shared control consistently (#19172)
(cherry picked from commit 10eb6c77a4)
2022-04-03 14:04:53 +03:00
Jesse Yang
fcca027b88 feat(select): keep options order when in single mode (#19085)
(cherry picked from commit ae13d8313b)
2022-04-03 14:02:20 +03:00
smileydev
d0c9df4d7b 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

(cherry picked from commit c79ee56884)
2022-04-03 14:02:19 +03:00
Smart-Codi
2193e17940 fix: Show Totals error with sort and group by together (#19072)
(cherry picked from commit bc6aad0a88)
2022-04-03 14:02:18 +03:00
Diego Medina
0aba34a807 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

(cherry picked from commit 0e0beceac1)
2022-04-03 14:02:18 +03:00
Geido
4bff8fe95e Control sortby based on series limit (#18950)
(cherry picked from commit f53f86f796)
2022-04-03 14:02:16 +03:00
Ville Brofeldt
02d9825b11 chore(plugin-chart-echarts): bump echarts 5.3.1 (#19041)
(cherry picked from commit 1b7d056126)
2022-04-03 14:02:13 +03:00
Stephen Liu
1eac8712a4 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.

(cherry picked from commit c32eaf47e5)
2022-04-03 14:02:12 +03:00
Ville Brofeldt
603f43bd95 bump and harmonize urijs and xss (#18922)
(cherry picked from commit 834686a3d9)
2022-04-03 13:52:37 +03:00
Stephen Liu
1f4ff51322 fix(plugin-chart-echarts): fix customize margin (#18958)
(cherry picked from commit c4e3c45b3c)
2022-04-03 13:52:36 +03:00
Kamil Gabryjelski
335a90a5ac feat(legacy-preset-chart-deckgl): Add ,.1f and ,.2f value formats to deckgl charts (#18945)
* Add ,.1f and ,.2f value formats to deckgl charts

* Remove duplicated code

(cherry picked from commit c56dc8eace)
2022-04-03 13:52:35 +03:00
Stephen Liu
2fc2e275d4 fix(deck.gl): multiple layers map size is shrunk (#18939)
(cherry picked from commit 2cb3635256)
2022-04-03 13:52:34 +03:00
Geido
a9a892945e fix: Position of arrows in Table chart (#18739)
* Fix arrow position

* Improve position

* Add right position

* Improve styling
2022-02-22 15:42:05 +02:00
Stephen Liu
c491829e99 chore: unify usages of nvd3 library (#18828) 2022-02-21 11:37:57 +01:00
Yongjie Zhao
987740aa8d fix: contribution operator meets nan value (#18782) 2022-02-18 23:28:28 +08:00
Yann Jouanique
4f12e27c28 Adding OAF countries (#18745) 2022-02-16 16:45:11 -07:00
Holger Bruch
97d918b692 fix(deck.gl): update view state on property changes (#17720) (#17826)
* Update viewstate on property changes

* Compare props via isEqual
2022-02-11 13:19:42 +02:00
Adam Dobrawy
7c69a1bc60 chore: improve React import reference consistency (#18608) 2022-02-10 21:03:16 -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
Hoàng Minh Quân
28e729b835 fix(histogram): display correct percentile value instead of formula (#18084)
Co-authored-by: quanhm <quanhm@vng.com.vn>
2022-02-08 20:30:20 -08: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
Erik Ritter
7f3453f3ea fix: Add mexico back to country map (#18219) 2022-01-28 13:04:53 -08: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
Hammad-Raza
0cec0c9a68 feat(country-map): added new countries in country-chart-map (#18081) 2022-01-22 12:05:20 +08: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
Jesse Yang
f451081166 feat(chart): add Mexico to country map viz (#18007) 2022-01-12 08:41:12 -08: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
serenajiang
05d9cde203 feat: update time comparison choices (again) (#17968) 2022-01-10 10:08:15 -08:00
Erik Ritter
1e544ce531 fix: null dates in table chart (#17974) 2022-01-10 10:07:59 -08:00
Evan Rusackas
fecb6d91c0 chore: fixing annoying warning about escaping in Emotion styling (#17972)
* chore: fixing annoying warning about escaping in Emotion styling

* linting 
2022-01-09 08:44:17 -07: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
Evan Rusackas
2098898b31 chore: Adding more viz category mappings for viz picker (#17956)
* Tagging two Bar charts

* tagging two more nvd3 bar charts
2022-01-07 08:12:33 -07:00