Oct 25, 2018, 7:19 AM
-
-
Oct 25, 2018, 4:20 PMHello @meka123, and welcome to Ext.NET forums!
You have just to get the right CSS class to override. Here's a somewhat recent discussion on this topic, all you have to change is from border to background, or down one level in the CSS hierarchy.
- Chart legend problem
For CSS overriding to work you need to use the default legend (not SpriteLegend which is rendered within the chart canvas).
Unfortunately the way the themes are written caused this issue where you can't override the legend CSS settings from the C# definitions like you pointed, so using the CSS override was the best way we found to overcome this issue at the time the discussion above took place.
Hope this helps! -
Oct 26, 2018, 3:15 AM
-
Oct 26, 2018, 2:53 PMHello @meka123!
Try using LegendDomConfig instead of LegendConfig. By default it uses the SpriteLegend as suggested above.
Would you mind editing your last post wrapping code within[code][/code]
tags? It gets much better for reading and understanding your code snippets.
Hope this helps, and thanks in advance! -
Oct 30, 2018, 12:32 AMI have tried using LegendDomConfig.
Then I saw the tag of the legend.
So I modified it using the css.
Thanks.
Similar Threads
-
[CLOSED] Set background of Panel to transparent
By supera in forum 2.x Legacy Premium HelpReplies: 4Last Post: Mar 01, 2013, 11:57 AM -
[CLOSED] Chart.Legend background color ?
By Zenalyse in forum 2.x Legacy Premium HelpReplies: 1Last Post: Feb 19, 2013, 1:57 PM -
[CLOSED] Window transparent background.
By alainfo in forum 1.x Legacy Premium HelpReplies: 4Last Post: Jun 17, 2010, 9:24 AM -
iframe transparent background
By pintun in forum 1.x HelpReplies: 1Last Post: Nov 05, 2009, 1:50 PM -
Png icon transparent background color problem with IE6.0.
By Tom.Hanks in forum 1.x HelpReplies: 2Last Post: Jan 07, 2009, 10:33 AM