From f9f935e78e5d02598984c28369b88a8d5dcc0af4 Mon Sep 17 00:00:00 2001 From: Gowtham M Date: Tue, 31 Mar 2026 15:39:53 +0530 Subject: [PATCH] GWM : chart improvemnet --- app/Views/chart/builder.php | 526 ++++++++++++++-------------- app/Views/chart/builder_scripts.php | 116 +++++- public/assets/css/chart-builder.css | 46 ++- 3 files changed, 414 insertions(+), 274 deletions(-) diff --git a/app/Views/chart/builder.php b/app/Views/chart/builder.php index 1075286..37bf398 100644 --- a/app/Views/chart/builder.php +++ b/app/Views/chart/builder.php @@ -27,7 +27,7 @@ $bootstrapJson = json_encode($bootstrap, JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX

-

Choose a saved query, map fields, and preview with ApexCharts.

+

Visualization-first composer: connect query, pick recommended chart, and tune with live preview.

@@ -47,18 +47,6 @@ $bootstrapJson = json_encode($bootstrap, JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX
getFlashdata('error')) ?>
-
- -
-
@@ -66,296 +54,306 @@ $bootstrapJson = json_encode($bootstrap, JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX - - -
-
-
- Saved query +
+
+ Query selector +
+
+ + +
-
- - -

The data source is taken from the query; you do not pick it separately.

- - - -

-
-
- -
-
- Result preview - -
-
- - - - - - - -
+
+

- -
-
-
- Chart type +
+
+
+
Recommended charts
+
+
+ +
+

Run query once to get chart recommendations based on your columns.

+
+ All chart types +
+ +
+
+
+
-
-
-