Commit Graph

296 Commits

Author SHA1 Message Date
Yash Mehta
6e4d6e599b
chore: adding missing examples in the gallery for several chart types (#22597) 2023-01-05 11:43:32 +02:00
Lily Kuang
40dba06094
chore: upgrade react-ace (#22573) 2023-01-04 09:16:01 -08:00
Yash Mehta
839ec7ceac
fix: adding missing examples for bubble chart, bullet chart, calendar heatmap chart and country map chart in the gallery (#22523) 2022-12-31 10:26:54 +00:00
John Bodley
9e81c3a119
feat: update time comparison choices (again) (#22458) 2022-12-24 10:13:35 +13:00
Cody Leff
7f4e522f1a
chore(viz): Rename legacy non-time-series Bar Chart (#22430) 2022-12-20 10:08:30 -05:00
Reese
2679ee2e46
fix(chart-table): Scrollbar causing header + footer overflow (#21064) 2022-12-15 22:25:20 -07:00
Michael S. Molina
bb318cb137
fix: Allow empty CSS in Handlebars (#22422) 2022-12-14 18:41:06 -05:00
Geido
ebaa94974b
fix: Force configuration for SafeMarkdown component in Handlebars (#22417) 2022-12-14 16:23:34 -05:00
Ville Brofeldt
6b4ab8a03c
chore(plugin-chart-echarts): upgrade to echarts 5.4.1 (#22382)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-12-10 13:38:54 +02:00
Ville Brofeldt
012d1300c1
chore(viz): rename v1 and v2 charts (#22369) 2022-12-09 22:51:37 +02:00
Ville Brofeldt
b1f8fd4f64
chore(superset-ui): remove deprecated fields from QueryObject (#22272) 2022-11-30 15:54:11 +02:00
Yongjie Zhao
22fab5e58c
feat: Axis sort in the Bar Chart V2 (#21993) 2022-11-26 22:06:26 +08:00
maleksan
9578a443ef
feat(chart): Added Latvia to countries map (#22220) 2022-11-25 13:37:29 +02:00
Ville Brofeldt
2e650eaebe
fix(plugin-chart-echarts): tooltip overflow bug (#22218)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-11-24 14:11:01 +02:00
Michael S. Molina
3bc0865d90
fix: Drill to detail blocked by tooltip (#22082)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-11-23 21:50:06 +02:00
Michael S. Molina
9a2cb431ce
fix: Adds time grain to Pivot Table v2 (#22170) 2022-11-20 10:20:01 -05:00
Michael S. Molina
824dc7188b
fix: Right click on country map with code filter (#22081) 2022-11-14 08:52:31 -05:00
Yongjie Zhao
5b67e0712d
refactor: update documents and rename variables (#22074) 2022-11-11 18:04:56 +08:00
Cody Leff
4cbd70db34
fix: Revert shared controls typing change. (#22014) 2022-11-03 11:58:38 +08:00
Yongjie Zhao
a9b229dd1d
feat: support mulitple temporal filters in AdhocFilter and move the Time Section away (#21767) 2022-11-02 08:21:17 +08:00
Ville Brofeldt
f5977caf44
chore(plugin-chart-echarts): bump ECharts to 5.4.0 (#21916) 2022-10-24 17:09:24 +03:00
Cody Leff
76e57ec651
feat(dashboard): menu improvements, fallback support for Drill to Detail (#21351) 2022-10-19 18:34:46 -03:00
Yongjie Zhao
9aa804e070
fix: categorical x-axis can't apply the label of column (#21869) 2022-10-19 18:47:02 +08:00
Yongjie Zhao
0a4ecca9f2
fix: custom SQL in the XAxis (#21847) 2022-10-19 11:40:52 +08:00
Andrew
df7840c041
chore: Added translate functions (#21816) 2022-10-19 09:54:16 +08:00
Yongjie Zhao
f38115489b
fix: drilling on the categorical xaxis on the mixed chart (#21845) 2022-10-19 09:08:28 +08:00
Yongjie Zhao
f41d0b0cbf
fix: drilling on the categorical xaxis on the stacked barchart v2 (#21844) 2022-10-18 19:47:53 +08:00
Geido
383dc29ad1
fix: Allow comma in Number Format (#21817) 2022-10-18 14:28:07 +03:00
Yongjie Zhao
8f61e3c5d9
refactor: preparation for time section migration (#21766) 2022-10-12 08:38:30 +08:00
Stephen Liu
db075d4157
chore(deps): bump react-map-gl from 4.0.10 to 6.1.19 (#21748) 2022-10-11 14:47:25 +08:00
Michael S. Molina
0ff1e49e3c
fix: Null values on Treemap right-click (#21722) 2022-10-07 08:08:10 -03:00
Michael S. Molina
eb2a1345a8
fix: Drill to detail formatted val on TableChart (#21719) 2022-10-06 14:45:09 -03:00
Michael S. Molina
770f68f5b1
fix: Right-click on misconfigured World Map (#21697) 2022-10-06 08:23:40 -03:00
Evan Rusackas
4245bc3f38
chore(style): Enforce optional chaining (#21614) 2022-10-03 09:17:20 -06:00
Stephen Liu
61bd696226
fix(plugin-chart-echarts): boxplot throw error in the dashboard (#21661) 2022-10-01 08:53:29 +08:00
Bryan Thomas
f83af88fc7
feat: Added latin america countries to country map (#21352) 2022-09-30 12:47:01 +03:00
Yongjie Zhao
9dd102f383
refactor: remove useless groupby from QueryObject (#21643) 2022-09-30 11:53:54 +08:00
Stephen Liu
ab53d77aba
fix(dashboard): fix Pivot Table V2 dragPreview in the dashboard (#21539) 2022-09-28 22:10:38 +08:00
Mayur
60bab4269f
fix(table-chart): don't color empty cells in table chart with color formatters (#21501) 2022-09-28 16:16:12 +08:00
Yongjie Zhao
93f08e778b
feat: explicit distribute columns on BoxPlot and apply time grain (#21593) 2022-09-28 15:32:35 +08:00
Yongjie Zhao
f4646f8edb
feat: adding XAxis to BigNumberTrend (#21577) 2022-09-26 20:14:17 +08:00
Yongjie Zhao
d67b04683c
feat: support multiple columns with time grain in Table Chart (#21547) 2022-09-23 16:08:35 +08:00
Yongjie Zhao
e671d80209
feat: support multiple time columns with time grain in Pivot Table v2 (#21537) 2022-09-22 21:56:10 +08:00
LiuBodong
c66205feac
fix: pie chart orientation description error (#21514)
Co-authored-by: Stephen Liu <750188453@qq.com>
2022-09-21 21:44:29 +08:00
Yongjie Zhao
4d12e3709e
feat: generate consistent QueryObject whether GenericAxis is enabled or disabled (#21519) 2022-09-21 09:41:21 +08:00
Evan Rusackas
135909f814
feat: Making bar graphs in Table viz from fixed-size divs instead of calculated gradients (#21482) 2022-09-20 07:36:36 -06:00
Stephen Liu
94a724e49b
perf(word-cloud): reduce render to improve performance (#21504) 2022-09-19 20:08:36 +08:00
Yongjie Zhao
2d16100dbc
refactor: get Axis from a helper function (#21449) 2022-09-16 15:57:45 +08:00
Stephen Liu
1c0bff3dfb
fix: revert #21356(able to sort bar on the bar chart V2) (#21481) 2022-09-16 09:06:12 +08:00
Cody Leff
2285ebe72e
fix(explore): Prevent shared controls from checking feature flags outside React render (#21315) 2022-09-14 20:41:47 +02:00
Stephen Liu
59437ea6e7
feat(plugin-chart-echarts): able to sort bar on the bar chart V2 (#21356) 2022-09-13 23:09:09 +08:00
Yongjie Zhao
b80f659101
fix(big number): time grain control is useless in BigNumber Viz (#21372) 2022-09-08 21:43:26 +08:00
Yongjie Zhao
ce3d38d2e7
feat: apply Time Grain to X-Axis column (#21163) 2022-09-07 16:24:15 +08:00
Stephen Liu
79525dfaf2
feat(explore): standardized controls for time pivot chart (#21321) 2022-09-04 09:38:53 +08:00
Ville Brofeldt
1aeb8fd6b7
fix(plugin-chart-echarts): show zero value in tooltip (#21296)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-09-01 20:27:41 +03:00
Kamil Gabryjelski
c3a00d43d0
fix(explore): Time column label not formatted when GENERIC_X_AXES enabled (#21294) 2022-09-01 18:07:49 +02:00
Alex Lauderbaugh
994f327157
chore: Renaming Line Chart to Line Chart v2 (#21278) 2022-09-01 08:16:55 +02:00
Geido
f017f98b88
chore: E2E tests for the Drill to detail modal (#21187)
* Add example ECharts Dashboard

* [WIP] E2E test

* Add echarts interactions

* Lint

* DRY
2022-08-29 11:25:27 +03:00
Michael S. Molina
d41f44fcdf
fix: World Map right-click value (#21209) 2022-08-26 15:08:24 -03:00
Michael S. Molina
68fa4d2665
feat: Adds drill to detail context menu to Table (#21168)
* feat: Adds drill to detail context menu to Table

* Improves context menu positioning

* Fixes Pivot Table typying
2022-08-26 13:35:26 -03:00
Michael S. Molina
859b6d2d20
feat: Adds drill to detail context menu to Pivot Table (#21198)
* feat: Adds drill to detail context menu to Pivot Table

* Adds useCallback
2022-08-26 08:23:26 -03:00
Michael S. Molina
1143e17742
fix: Typing of labelMap (#21181)
* fix: Typing of labelMap

* Adjusts val types
2022-08-26 08:22:57 -03:00
Michael S. Molina
4ca4a5c7cb
feat: Adds drill to detail context menu to World Map (#21150) 2022-08-23 10:24:55 -03:00
Michael S. Molina
0bf4e56dc3
fix: Drill to detail on values with comma (#21151) 2022-08-22 13:52:39 -03:00
Antonio Rivero Martinez
bdcc0a9bcf
fix(charts): Hide Values greater than Max Y Axis Bound on Mixed Time Series with Bar series (#21015)
* Mixed TimeSeries:

- When Bar chart is used as serie type, we need to hide values that are greater than the max Y Axis Bound.

* Mixed Time Series:

- Simplify logic for getOverMaxHiddenFormatter

* Mixed Time Series:

- Add tests for new getOverMaxHiddenFormatter util func
2022-08-22 08:55:09 -06:00
Stephen Liu
e70699fb43
fix(plugin-chart-handlebars): order by control not work (#21005) 2022-08-22 15:00:34 +08:00
Stephen Liu
b303d1e156
fix(plugin-chart-echarts): gauge chart enhancements and fixes (#21007)
* fix(plugin-chart-echarts): gauge chart enhancements and fixes

* fix lint
2022-08-16 07:54:17 -06:00
JUST.in DO IT
2d1ba46844
fix(plugin-chart-echarts): missing value format in mixed timeseries (#21044) 2022-08-11 12:33:59 -07:00
JUST.in DO IT
a8ba544e60
fix(plugin-chart-echarts): invalid total label location for negative values in stacked bar chart (#21032) 2022-08-11 11:28:18 -07:00
Michael S. Molina
3df8335f87
feat: Adds drill to detail context menu for ECharts visualizations (#20891)
* feat: Adds drill to detail context menu for ECharts visualizations

* Rebases and adds time grain

* Fixes selected gauge values

* Fixes Treemap edge click

* Adds right click to big number trendline

* Address some comments
2022-08-09 17:02:31 -03:00
JUST.in DO IT
9114175db2
fix(plugin-echart-timeseries: legend trancated on show extra controls (#21017) 2022-08-09 16:12:00 +08:00
Antonio Rivero Martinez
aa53c10312
Big Number Viz: (#20946)
- When the value is zero we still render the percent change and suffix if present
2022-08-03 23:12:56 +08:00
Stephen Liu
7beda3bbdb
chore: change Sort-by and Sort-Descending controls for Bar Chart v2 (#20868) 2022-08-02 14:36:21 -06:00
Antonio Rivero Martinez
9362e27ce2
fix(chart): Time Series set showMaxLabel as null for time xAxis (#20627)
* Time Series Chart:

-Apache echarts has this option as false by default for time axis, so we need to override it for our charts so it's uto determined and not fixed to hidden.
- Add AxisType enum so we stop comparing agains raw strings when checking xAxis type

* Time Series Chart:

- set the showMaxLabel option directly without using merge

* Time Series Chart:

 - Rename the property to showMaxLabel as it was originally
2022-08-02 14:35:41 -06:00
Diego Medina
fe581a3640
fix: adjust timeseries grid right offset to match the rest (#20933) 2022-08-02 14:19:49 -06:00
Just[in]Do it!
3f124d9d67
fix(plugin-chart-pivot-table): Invalid Formats Date Fields (#20909)
When a custom date field value converted in a string format, some aggregators truncated to the first four digits.
 This is caused by the parseFloat function which converts to first matched number rather than NaN(Not-A-Number) value.
 This commit replaces the parseFloat by Number wrapper to handle this case correctly.
2022-07-28 22:56:08 -07:00
Antonio Rivero Martinez
234c44626d
TableChart: (#20833)
- Handle resize properly when only the scrollbar is changing so it doesn't get stuck into an infinite loop.
2022-07-27 12:32:34 -06:00
Diego Medina
5d107b86ab
fix: explore warnings cleanup (#20864) 2022-07-26 13:28:50 +08:00
Stephen Liu
9bf7ed58cd
fix(plugin-chart-echarts): bar chart overflow (#20805) 2022-07-23 14:20:00 +08:00
rizacavus
4ffa3c22d1
feat: Add Türkiye Map to Country Map (#20801) 2022-07-23 08:33:56 +08:00
Diego Medina
51869f32ac
Temporal X Axis values are not properly displayed if the time column has a custom label defined (#20819) 2022-07-22 17:05:37 +08:00
Evan Rusackas
fe9eb58ede
chore: bumps the handlebars plugin package version to match the family. (#20813) 2022-07-22 15:18:45 +08:00
Diego Medina
279ab954b1
fix: chart empty state & result panel when multiple queries are executed display incorrectly (#20816) 2022-07-22 14:58:42 +08:00
Stephen Liu
d90b973235
fix(plugin-chart-echarts): layout broken when resizing (#20783)
* fix(plugin-chart-echarts): layout broken when resizing

* use useLayoutEffect
2022-07-20 09:40:39 -06:00
Stephen Liu
d925b0c883
fix(heatmap): add detail descriptions for heatmap 'normalize across' (#20566)
* fix(heatmap): change 'Normalize Across' to 'Color Based On' and add some label

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

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

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

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

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

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

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

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

* fix lint

Co-authored-by: Evan Rusackas <evan@preset.io>
2022-07-20 09:39:22 -06:00
Cody Leff
84d4302628
fix(explore): Fix chart standalone URL for report/thumbnail generation (#20673)
* Update explore URLs.

* More URL fixes.

* Make frontend accept true/false query params case-insensitively.

* Fix URL mistake.

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-07-19 13:53:55 -03:00
Stephen Liu
acdb271422
fix(line-chart): Formula Annotations on Line Charts are broken (#20687) 2022-07-13 16:42:11 +08:00
Stephen Liu
bd6037ef50
fix(treemap-v2): color scheme not work when there is only one dimension (#20671) 2022-07-13 16:06:44 +08:00
Yongjie Zhao
7f918a4ec0
fix: annotation broken (#20651)
* fix: annotation broken

* fix UT

* add annotation data to mixed timeseries chart
2022-07-11 16:23:57 -06:00
AAfghahi
0ce0c6e1eb
chore: removing Druid from front- and back- end (#20338)
* first pass at removing native Druid nosql

* removing having_druid

* addressing comments, linting

* fixed all tests

* addressing comments

* redirected to ui-core TimeGranularity type

* query form metric linting

* fixed broken chart type

* implementing feedback
2022-07-08 17:57:03 +02:00
Evan Rusackas
9856d88c03
feat(handlebars plugin): adding handlebars helpers for common math operations (#20648)
* feat(plugin-chart-handlebars): add common helpers

* add import

* add declare module

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-07-08 08:10:29 -06:00
stevetracvc
7e504ff680
feat: truncate long values in table viz, a per-column setting (#19383)
* feat: truncate long values, a per-column setting

* fix: lint

* fix: removed width for column control

* fix: removed truncate option for time, bool, and numeric columns

* prevent extra div if not truncating
2022-07-06 22:16:48 -06:00
Diego Medina
ac01a1b02f
chore: Set table viz default row limit to 1000 (#20475) 2022-07-06 22:09:23 -06:00
Yongjie Zhao
59491f5396
chore: rename drop missing columns to show empty columns (#20602) 2022-07-05 16:09:16 +08:00
Stephen Liu
c0a00fd302
feat(deck.gl): add color range for deck.gl 3D (#19520) 2022-07-04 11:54:04 +08:00
Yongjie Zhao
b870a21eaa
refactor: remove unused flatten function (#20582) 2022-07-01 19:17:55 +08:00
Yongjie Zhao
290b89c7b4
feat: apply standardized form data to deckgl (#20579) 2022-07-01 14:51:59 +08:00
Evan Rusackas
f5f8ddec3e
Revert "feat(plugin-chart-echarts): Support stacking negative and positive values (#20408)" (#20571)
This reverts commit c959d92dd1.
2022-06-30 13:52:43 -06:00
Stephen Liu
24a53c38c6
fix(big-number): big number gets cut off on a Dashboard (#20488) 2022-06-30 16:19:38 +08:00
Yongjie Zhao
de524bc59f
feat: apply standardized form data to tier 2 charts (#20530) 2022-06-29 16:27:31 +08:00