Commit Graph

52 Commits

Author SHA1 Message Date
lovasoa ae30d82917 biome fixes 2025-07-27 00:09:39 +02:00
lovasoa 16ed836782 Chart component: accept numerical values passed as strings in pie
charts.
2025-07-26 23:29:15 +02:00
lovasoa 1820707591 Update apexcharts.js 2025-07-25 21:45:47 +02:00
lovasoa 32a875d34d Optimize category collection in chart data processing
Replace the iterative series filtering with a flatMap initialization and
remove series from processing when they have no more data points
2025-07-02 00:11:08 +02:00
lovasoa ee156d943d Sort chart categories by name instead of first appearance
fixes https://github.com/sqlpage/SQLPage/issues/951
2025-07-01 23:58:22 +02:00
lovasoa 7004ebc8f7 Fix potential null reference in chart value formatting 2025-07-01 16:58:36 +02:00
lovasoa ca00eaa07a chart item ordering
fixes https://github.com/sqlpage/SQLPage/discussions/930Preserve original category order for bar charts

Single-series bar charts now retain their original data point order.
For multi-series bar charts, categories are aligned and ordered by
their first appearance in the data, instead of alphabetically.
2025-06-02 20:59:10 +02:00
lovasoa 5c38eb1bd7 chart component: fix zero values in stacked bar charts
fixes https://github.com/sqlpage/SQLPage/issues/924
2025-05-27 12:31:54 +02:00
lovasoa ef3feb8fbc colors 2025-05-22 23:50:27 +02:00
lovasoa 60af67521d update colors
see https://github.com/sqlpage/SQLPage/issues/922#issuecomment-2902446251
2025-05-22 23:39:01 +02:00
lovasoa f92cbf5ba3 Update apexcharts.js 2025-05-20 01:32:17 +02:00
lovasoa fbe897aa22 Update default chart colors and text shadows for better readability with all themes 2025-03-26 01:52:31 +01:00
lovasoa 3a04408bea When multiple series are defined in the sql, and then the user deselects one of the series, and then hovers over the others, the tooltip that should show the series values does not appear.
fix https://github.com/sqlpage/SQLPage/issues/868
2025-03-24 16:26:37 +01:00
lovasoa b11136a591 update dependencies
fixes https://github.com/sqlpage/SQLPage/issues/797
2025-02-22 14:47:20 +01:00
lovasoa f58befe2b7 update dependencies 2025-02-05 13:11:44 +01:00
lovasoa ef82b78f38 update apex charts
fixes https://github.com/sqlpage/SQLPage/issues/733
fixes
fixes https://github.com/sqlpage/SQLPage/issues/726
2024-12-21 01:11:15 +01:00
lovasoa ad1beeae70 update apex charts 2024-12-12 18:29:18 +01:00
lovasoa d8c25dfbfb Format 2024-12-11 16:03:02 +01:00
lovasoa 63f1ff5e6f fix apexcharts bug
See https://github.com/sqlpage/SQLPage/issues/733
2024-12-10 14:25:34 +01:00
lovasoa 350b4b94b9 update apexcharts 2024-12-09 21:41:34 +01:00
lovasoa 5ff3b50aa5 Fix a bug with stacked bar charts
Fix #727
2024-12-09 11:12:17 +01:00
lovasoa b92f990af2 fix js bug introduced by biome 2024-11-05 22:41:45 +01:00
lovasoa b783c6e52a check for chart errors 2024-11-05 22:38:25 +01:00
lovasoa 6081c9ff9f add biome linting and formatting for a consistent style and easier contributions
this should prevent useless conflicts
2024-11-05 21:03:20 +01:00
lovasoa ebf19aa7fe add linting and formatting in CI 2024-11-05 18:33:55 +01:00
lovasoa 64546c47ad Update charting library and fix chart bugs
fixes https://github.com/sqlpage/SQLPage/issues/659
2024-11-01 16:38:34 +01:00
lovasoa 555519ee34 fix blue color in charts 2024-09-15 14:56:28 +02:00
lovasoa 76aabf1c07 remove decimal places from pie chart
fix https://github.com/lovasoa/SQLpage/issues/551
2024-08-22 20:27:06 +02:00
lovasoa f8a737aa2b improve chart component: add time range 2024-08-14 17:08:49 +02:00
lovasoa d35c493ddf add treemap charts 2024-08-13 18:14:47 +02:00
lovasoa 6bc4d16512 Update deps 2024-08-10 10:59:25 +02:00
lovasoa 2192c969d4 fix charts 2024-08-05 00:00:00 +00:00
lovasoa 12a75c9126 update apex charts 2024-07-11 12:59:25 +02:00
lovasoa ed78380f65 More intuitive timeseries chart time axis behavior
fix https://github.com/lovasoa/SQLpage/issues/324
2024-05-20 21:00:27 +02:00
lovasoa c140e99a0d update dependencies (new icons, new charts, bugfixes) 2024-05-18 21:40:51 +02:00
lovasoa fe268f45ed bundle tomselect with sqlpage 2024-04-14 18:52:59 +02:00
lovasoa 6982681bd7 chart performance: use .textContent instead of .innerText 2024-03-25 09:41:17 +01:00
lovasoa 378ed9c50e update apexcharts 2024-03-12 15:40:24 +01:00
lovasoa 9974f082b9 update apex charts 2024-02-24 20:15:50 +01:00
lovasoa ede6a2823b update charting library & add new icons 2024-02-03 18:14:21 +01:00
lorefnon 0ea62650dd Fix regression causing chart height to not be respected and title not showing up 2024-01-29 13:22:24 +05:30
Lorefnon 99c7e02499 Support lazy-loaded content fragments in card component (#175)
* Add support for embed parameter that skips the shell layout

* Add support for cards with remote content

* Adapt js to support lazy-loaded fragments

* Add example

* Reformat & Fix lint errors

* Update query param name and add docs

* Add example

* squash migrations

---------

Co-authored-by: lovasoa <pere.jobs@gmail.com>
2024-01-05 22:17:33 +01:00
lovasoa a165e9dbc2 chart component fixes & improvements 2024-01-05 09:47:24 +01:00
lovasoa 4a4d1986fe disable series alignment for line charts
apexcharts handles unaligned series correctly

fixes https://github.com/lovasoa/SQLpage/issues/149
2023-12-12 05:48:38 +01:00
lovasoa 35e945011d add an example for heatmaps 2023-12-09 15:13:08 +01:00
Ophir LOJKINE 23f834de71 null variables (#136)
* update dependencies

* Add support for resetting variables to a `NULL` value using `SET`. Previously, storing `NULL` in a variable would store the string `'null'` instead of the `NULL` value.
2023-11-19 20:09:18 +01:00
lovasoa ffba850bfe better time series support in the chart component
fixes https://github.com/lovasoa/SQLpage/issues/103
2023-10-18 22:02:37 +02:00
lovasoa 5091c25b65 update dependencies 2023-10-15 11:45:47 +02:00
lovasoa 1495951965 improve bubble chart support and simplify example 2023-10-08 09:33:56 +02:00
lovasoa 64d6ce16d1 add support for bubble charts 2023-10-08 09:33:56 +02:00