<link rel='nofollow' href="~/lib/syncfusion-javascript/Content/ej/web/gradient-azure-dark/ej.web.all.min.css" rel="stylesheet" />
<ej-chart id="container" can-resize="true" theme="@Syncfusion.JavaScript.DataVisualization.ChartTheme.GradientDark">
<ej-circular-gauge theme="@Syncfusion.JavaScript.Themes.FlatDark"
When I choose gradient-azure-dark the gauge looks cool with gradient background and so.But I can't find out how to achive this. This is done by "some magic function" which is not visible in the samples.<ej-circular-gauge id="circulargauge1" is-responsive="true" load="loadGaugeTheme" background-color="transparent"
How can I have "gradient-azure-dark" on the gauge?
Why is there a function to do this?
Does gauge not supprot theming?
Hi Saravanah,
thank you for your fast answer and the sample.
I tried it - and it works - at least with dark full circle.
Light half circle also works - but for dark half circle the image is missing...
Anyhow - in simple words - gauge doesn't really support theming.
If I want this I have to build my own styles, add images.....
It simply works - dark or light.
To help you understand my questions - I migrate (for evaluation) a project from a competitor control suite to syncfusion.
With the "other suite" I just change a "theme css" and every control matches the look of the selected theme.
With your suite I have:
a.) Swap the theme css - makes most of the controls look different
b.) somehow change the Style="...." on the controls in the views (like with chart for an example)
c.) do ???? to make controls like gauges look "matching" to the selected theme.
While a is very simple
- b.) is a bit more difficult since I can't easily exchange things like style="@Syncfusion.JavaScript.DataVisualization.ChartTheme.GradientDark" to "something matching the selected theme"...
And for c.) I see no solution than to provide a more or less complex "exchange script" with images, css files.....
To make the things easier for me:
Is there a matrix of your controls which shows controls supporting theming - those supporting it "somehow" (like chart) - and those not supporting it (like gauge)?
Hi Saravana,
just one thing left to say:
Outstanding perfect support!!!
Thank you
Manfred