Oct 25, 2018, 8:19 AM
Oct 25, 2018, 5: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, 4:15 AM
Oct 26, 2018, 3: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, 1:32 AMI have tried using LegendDomConfig.
Then I saw the tag of the legend.
So I modified it using the css.
By supera in forum 2.x Premium HelpReplies: 4Last Post: Mar 01, 2013, 12:57 PM
By Zenalyse in forum 2.x Premium HelpReplies: 1Last Post: Feb 19, 2013, 2:57 PM
By alainfo in forum 1.x Premium HelpReplies: 4Last Post: Jun 17, 2010, 10:24 AM
By pintun in forum 1.x HelpReplies: 1Last Post: Nov 05, 2009, 2:50 PM
By Tom.Hanks in forum 1.x HelpReplies: 2Last Post: Jan 07, 2009, 11:33 AM