Commit Graph

43 Commits

Author SHA1 Message Date
Evan Rusackas
65cfebd889 fix: remove unused StringConstructor from return type
Address review feedback from @michael-s-molina: Since the function
no longer returns String, remove StringConstructor from the return
type and update the misleading test description.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 21:55:14 -08:00
Evan Rusackas
6cb9819d10 fix(echarts): Apply D3 locale formatting to adaptive datetime x-axis
Fixes #31790

When the "Adaptive" datetime format option was selected for x-axis in ECharts
visualizations, the custom D3 locale settings (like localized month names) were
being ignored. This was because getXAxisFormatter() was returning undefined for
SMART_DATE_ID, causing ECharts to use its default formatter instead of the
configured D3 locale formatter.

The fix ensures that when SMART_DATE_ID is selected, the smart date formatter
with proper locale support is returned, allowing custom D3 time formats with
localized month and day names to work correctly with the adaptive option.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-05 21:55:13 -08:00
Yousuf Ansari
33a425bbbc fix(echarts): use scroll legend for horizontal layouts to prevent overlap (#36306) 2025-12-17 11:16:35 -08:00
Mehmet Salih Yavuz
9546ee37e5 chore(superset-core): move ui to new core (#35308) 2025-11-07 13:53:06 -03:00
Michael S. Molina
78faaee685 chore: Reference GenericDataType from @apache-superset/core (#35214) 2025-09-23 10:12:18 -07:00
Evan Rusackas
682cdcc3e0 fix(echarts): Display NULL values in categorical x-axis for bar charts (#34761)
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-02 12:16:37 -07:00
Michael S. Molina
fc95c4fc89 fix: Timeseries annotation layers (#34709) 2025-08-15 12:59:30 -03:00
Maxime Beauchemin
dd129fa403 feat(theming): land Ant Design v5 overhaul — dynamic themes, real dark mode + massive styling refactor (#31590)
Co-authored-by: Enzo Martellucci <52219496+EnxDev@users.noreply.github.com>
Co-authored-by: Diego Pucci <diegopucci.me@gmail.com>
Co-authored-by: Mehmet Salih Yavuz <salih.yavuz@proton.me>
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
Co-authored-by: Alexandru Soare <37236580+alexandrusoare@users.noreply.github.com>
Co-authored-by: Damian Pendrak <dpendrak@gmail.com>
Co-authored-by: Pius Iniobong <67148161+payose@users.noreply.github.com>
Co-authored-by: Enzo Martellucci <enzomartellucci@gmail.com>
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2025-06-20 13:38:58 -07:00
Vitor Avila
5222f940cc fix(echarts): Sort series by name using naturalCompare (#32850) 2025-03-26 08:17:43 -03:00
Elizabeth Thompson
422a07b382 fix: revert "fix: remove sort values on stacked totals (#31333)" (#32337) 2025-02-21 10:35:06 -08:00
Elizabeth Thompson
15fbb195e9 fix: remove sort values on stacked totals (#31333) 2025-02-12 16:56:53 -08:00
geotab-data-platform
f4efce3475 fix: Reordering echart props to fix confidence interval in Mixed Charts (#30716)
Co-authored-by: Vedant Prajapati <40185967+vedantprajapati@users.noreply.github.com>
2025-01-28 11:51:52 -08:00
Damian Pendrak
2816a70af3 fix: annotations on horizontal bar chart (#31308) 2024-12-05 13:20:22 -08:00
Michael S. Molina
93ba8e16c3 refactor: Creates the VizType enum (#31193) 2024-11-29 10:05:02 -03:00
Ville Brofeldt
b02d18a39e fix(plugin-chart-echarts): sort tooltip correctly (#30819) 2024-11-01 15:24:51 -07:00
Michael S. Molina
b549977f05 feat: Utility function to render chart tooltips (#27950) 2024-05-07 13:00:30 -03:00
Antonio Rivero
8a715cc1b5 feat(bar_chart): Stacked Bar chart with Time comparison in separated stacks (#27589) 2024-03-22 08:24:38 +01:00
Michael S. Molina
af577d64b1 fix: Timeseries Y-axis format with contribution mode (#27106) 2024-02-14 09:41:22 -05:00
Ville Brofeldt
19f8405bc0 chore: make TS enums strictly PascalCase (#26875) 2024-01-31 17:40:44 -08:00
Michael S. Molina
84c48d11d8 fix: Bar charts horizontal margin adjustment error (#26817) 2024-01-29 15:25:16 -05:00
Ville Brofeldt
219c4a14b3 fix(plugin-chart-echarts): support forced categorical x-axis (#26404) 2024-01-08 12:04:22 -08:00
Ville Brofeldt
67468c46c0 fix(plugin-chart-echarts): use scale for truncating x-axis (#26269) 2023-12-15 07:13:39 +13:00
Michael S. Molina
429e2a33c3 fix: Stacked charts with numerical columns (#26264) 2023-12-13 17:10:51 -03:00
Ville Brofeldt
07e5fe8a66 fix(plugin-chart-echarts): support truncated numeric x-axis (#26215)
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2023-12-08 10:40:09 -03:00
Ville Brofeldt
aad67e43db fix(plugin-chart-echarts): support numerical x-axis (#26087) 2023-11-24 07:36:32 -08:00
John Bodley
f05638ba84 fix(annotation): Address regression from #24694 (#24874) 2023-08-03 09:33:03 -03: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
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
Michael S. Molina
30f210b842 feat: Enables ECharts legend selector (#23590) 2023-04-06 09:36:34 -03:00
Ville Brofeldt
0c454c6442 feat(plugin-chart-echarts): add series sorting (#23392) 2023-03-16 16:26:01 +02: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
Yongjie Zhao
f41d0b0cbf fix: drilling on the categorical xaxis on the stacked barchart v2 (#21844) 2022-10-18 19:47: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
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
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
Stephen Liu
acdb271422 fix(line-chart): Formula Annotations on Line Charts are broken (#20687) 2022-07-13 16:42:11 +08: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
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
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
Yongjie Zhao
3c41ff68a4 refactor(monorepo): move superset-ui to superset(stage 2) (#17552) 2021-11-30 08:29:57 +08:00