From 43f8c1f0a3cde8eda38604d882235d7b2a2b4d4e Mon Sep 17 00:00:00 2001 From: 4nshuman Date: Sun, 8 Sep 2024 19:24:33 +0530 Subject: [PATCH] added rotation of -45deg to horizontal labels --- lib/plugins/html/src/sass/dark/components/chartist.scss | 5 +++++ lib/plugins/html/src/sass/light/components/chartist.scss | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/lib/plugins/html/src/sass/dark/components/chartist.scss b/lib/plugins/html/src/sass/dark/components/chartist.scss index 7e540e75ec..1e3bfbd5b7 100644 --- a/lib/plugins/html/src/sass/dark/components/chartist.scss +++ b/lib/plugins/html/src/sass/dark/components/chartist.scss @@ -644,3 +644,8 @@ .current-series .ct-point, .current-series .ct-line { stroke: blue; } + +// Custom override of chartist classes +.ct-custom-label.ct-horizontal { + rotate: -45deg; +} \ No newline at end of file diff --git a/lib/plugins/html/src/sass/light/components/chartist.scss b/lib/plugins/html/src/sass/light/components/chartist.scss index 841dabbcb3..1e3bfbd5b7 100644 --- a/lib/plugins/html/src/sass/light/components/chartist.scss +++ b/lib/plugins/html/src/sass/light/components/chartist.scss @@ -643,4 +643,9 @@ .current-series .ct-point, .current-series .ct-line { stroke: blue; +} + +// Custom override of chartist classes +.ct-custom-label.ct-horizontal { + rotate: -45deg; } \ No newline at end of file