ChartControl - Legend image and background gradient

Hi, I have a ChartControl with a Legend that has a Represenation Type of "Line". In the legend this appears as a zig-zag line. Is it possible without explicitly setting the image to make this a flat horizontal line? Also, I set the background color by doing: _chartControl.BackColor = System.Drawing.Color This displays the background with a gradient. Is it possible to switch the gradient off so that the colour is consistent?

1 Reply

AD Administrator Syncfusion Team June 30, 2006 09:41 AM UTC

Hi Vito, I am afraid that this feature is not currently supported by Essential Chart[4.2.0.37]. This feature was [ChartLegendReperesentationType.StraightLine] implemented internally in ChartControl. Please take a look at the sample attached. Let me know its fulfills your ChartInterior color setting requirement. Thanks you for using Syncfusion Products. Regards, Rashidha

ChartInteriorSample.zip

Loader.
Up arrow icon