Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

Gradient in legend

$
0
0

I have a series where I am using the "LabelFormatting" event to color scatter points individually, and I would like to paint the legend item as a gradient to reflect that is not a single color but I cannot tell how to accomplish it. I am also using something I saw in the forums for adding checkboxes to the legend via handling the VisualItemCreating and replacing with my own derived LegendItemElement. After creating the child elements I am looking at the legend item marker and I see a lot of properties for gradients but no way to activate them.

 

I've also tried setting the BackColor and BackColor2 of the series, as well as NumberOfColors = 2 with no effect.


Viewing all articles
Browse latest Browse all 78072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>