Commit Graph

209 Commits

Author SHA1 Message Date
curious86
3f17945745
fix(charts): big-number display broken in echarts (#24492)
Co-authored-by: aadhikari <aadhikari@apple.com>
2023-06-27 20:59:24 +03:00
Michael S. Molina
c5b4ecdca5
fix: Total calculation in stacked Timeseries charts (#24477) 2023-06-23 11:57:48 -03:00
Evan Rusackas
cc68d626bc
fix: removing problematic "formattable" tag (#24207) 2023-05-26 14:04:10 -06:00
Ville Brofeldt
bc0079f2fb
fix(plugin-chart-echarts): force min y-tick for log axis with zero (#24186) 2023-05-23 13:25:08 +03:00
Ville Brofeldt
f817c10422
fix(plugin-chart-echarts): normalize temporal string groupbys (#24134) 2023-05-19 16:29:11 +03:00
Michael S. Molina
df4d16a7ee
feat: Make time shifted series colors match the original series (#24048) 2023-05-18 08:40:50 -03:00
Michael S. Molina
b4371f68b7
feat: Adds a control to set the Secondary Y-axis bounds in Mixed charts (#23917)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-05-05 10:11:54 -03:00
Gerold Busch
61d8a0bd12
feat: conditional coloring for big number chart (#23064)
Co-authored-by: Gerold Busch <gerold.busch@valtech.com>
2023-05-01 09:44:46 -06:00
Lily Kuang
0bf8907f2f
feat: format timestamps in drill by breadcrumbs (#23698) 2023-04-27 09:17:33 -07:00
Nicolas Charpentier
60c2e7013d
docs: cleanup references to apache-superset/superset-ui (#23796) 2023-04-25 09:18:27 -06:00
Kamil Gabryjelski
d4c0ae34f4
fix: Context menu crashing when there is no dimension in Echarts Series charts (#23797) 2023-04-24 17:42:56 +02:00
Ville Brofeldt
cbbcc8d2e1
fix(plugin-chart-echarts): reorder totals and support multimetric sort (#23675) 2023-04-14 20:43:15 +03:00
Ville Brofeldt
f49702feff
feat(plugin-chart-echarts): add x-axis sort to multi series (#23644) 2023-04-12 16:13:41 +03:00
akashboora
b613167636
fix(Gauge echart): displaying column label (#23396) 2023-04-08 15:14:12 +03:00
Michael S. Molina
30f210b842
feat: Enables ECharts legend selector (#23590) 2023-04-06 09:36:34 -03:00
Kamil Gabryjelski
9fbfd1c1d8
feat: Implement context menu for drill by (#23454) 2023-03-29 15:01:51 +02:00
Kamil Gabryjelski
8ecf0b1c20
feat(echarts): Add x axis sort by to all series charts (#23450) 2023-03-22 10:50:51 +01:00
Kamil Gabryjelski
b0d83e8c50
feat(echarts): Implement stream graph for Echarts Timeseries (#23410) 2023-03-20 12:56:15 +01:00
Ville Brofeldt
0c454c6442
feat(plugin-chart-echarts): add series sorting (#23392) 2023-03-16 16:26:01 +02:00
Kamil Gabryjelski
78ee60e227
fix(dashboard): Cross filters with time shifted series (#23347) 2023-03-13 14:32:49 +01:00
Ville Brofeldt
1b139d0748
feat(generic-x-axis): add x sorting on series limit metric (#23274) 2023-03-06 11:50:20 +02:00
Ville Brofeldt
71a9d0d403
fix(plugin-chart-echarts): render horizontal categories from top (#23273) 2023-03-06 11:25:52 +02:00
Kamil Gabryjelski
ee1952e488
feat(dashboard): Add cross filter from context menu (#23141) 2023-02-23 17:05:41 +01:00
Kamil Gabryjelski
871cab8cbe
feat: Enable cross fitlers in WorldMap and Graph charts (#22886) 2023-02-22 11:42:56 +01:00
Artem Shumeiko
773d2a54a3
chore: Localization of superset pt. 3 (#22938)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-02-07 09:21:23 -07:00
Josh Soref
78ede590ee
chore(frontend): Spelling (#19676)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2023-02-02 11:23:11 -07:00
Ville Brofeldt
c53c3aa23d
chore(superset-ui-chart-controls): refactor pivot and rename operator (#22963) 2023-02-02 17:16:07 +02:00
Kamil Gabryjelski
ed7b3533bc
fix(explore): Time comparison in Mixed Chart in GENERIC_CHART_AXES not working (#22945) 2023-02-02 14:06:30 +01:00
Michael S. Molina
30abefb519
feat: Adds the ECharts Sunburst chart (#22833) 2023-01-31 11:39:18 -05:00
Artem Shumeiko
c839d0daf5
chore: Localization of superset pt. 2 (#22772) 2023-01-30 09:20:43 -07:00
Evan Rusackas
6998f65e1d
chore: removing unnecessary double spaces, a.k.a. "shotgun holes" (#22852) 2023-01-26 11:48:41 -07:00
Geido
9ed2326a20
feat: Move cross filters to Dashboard (#22785) 2023-01-25 18:01:06 +01:00
Yash Mehta
aca2f1b201
chore: adding missing examples in the gallery for some chart types (#22766) 2023-01-18 10:16:40 -07:00
Stephen Liu
b53941fb3e
feat(plugin-chart-echarts): supports sunburst chart v2 [WIP] (#21625)
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2023-01-16 16:10:28 -05:00
Artem Shumeiko
f3696ceef3
chore: Localization of several charts and elements (#22150)
Co-authored-by: ashumeiko <ashumeiko@ashumeiko.com>
2023-01-11 09:42:54 -07:00
Yash Mehta
6e4d6e599b
chore: adding missing examples in the gallery for several chart types (#22597) 2023-01-05 11:43:32 +02: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
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
Yongjie Zhao
5b67e0712d
refactor: update documents and rename variables (#22074) 2022-11-11 18:04:56 +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
Michael S. Molina
0ff1e49e3c
fix: Null values on Treemap right-click (#21722) 2022-10-07 08:08:10 -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
Yongjie Zhao
9dd102f383
refactor: remove useless groupby from QueryObject (#21643) 2022-09-30 11:53:54 +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
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
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
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
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
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
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
Stephen Liu
9bf7ed58cd
fix(plugin-chart-echarts): bar chart overflow (#20805) 2022-07-23 14:20:00 +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
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
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
Yongjie Zhao
59491f5396
chore: rename drop missing columns to show empty columns (#20602) 2022-07-05 16:09:16 +08:00
Yongjie Zhao
b870a21eaa
refactor: remove unused flatten function (#20582) 2022-07-01 19:17:55 +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
c348a095b9
refactor(standardized form data): refine interface and improve code smells (#20518) 2022-06-28 21:09:42 +08:00
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