Group: Forum Members
Last Active: Last Year
Posts: 86,
Visits: 221
|
Hi Experts , I have a ThinWebClient Chart with 2 Line Types with several series :& nbsp ; NQuickPointSeries or NLineSeries . There is no mixed mode with the 2 series types it is either & nbsp ; NQuickPointSeries or & nbsp ; NLineSeries plotted . The Legend for the chart is created with the following code:& nbsp ; & nbsp ; & nbsp ; & nbsp ; NThin ChartControl1 . Legends . Clear (); & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; NThin ChartControl1 . Legends . Add (); & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; NLegend legend = NThin ChartControl1 . Legends [ 0 ];& nbsp ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; legend . Dock Mode = PanelDock Mode. Top ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; legend . Padding = new NMarginsL ( 1 , 1 , 3 , 3 ); & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; legend . FillStyle . SetTransparencyPercent ( 20 ); & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; legend . OuterBottomBorderStyle . Width = new NLength ( 1 , NGraphicsUnit . Pixel ); & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; legend . OuterLeftBorderStyle . Width = new NLength ( 1 , NGraphicsUnit . Pixel ); & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; legend . OuterRightBorderStyle . Width = new NLength ( 1 , NGraphicsUnit . Pixel ); & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; legend . OuterTopBorderStyle . Width = new NLength ( 1 , NGraphicsUnit . Pixel ); & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; legend . HorizontalBorderStyle . Width = new NLength ( 0 , NGraphicsUnit . Pixel ); & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; legend . VerticalBorderStyle . Width = new NLength ( 0 , NGraphicsUnit . Pixel );& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; & nbsp ; & nbsp ; & nbsp ; & nbsp ; NThin ChartControl1 . Legends [ 0 ]. Visibility Mode = Visibility Mode. Visible ; & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; chart. DisplayOnLegend = legend ; For the & nbsp ; NLineSeries everything is ok:
92% of original size (was 546x24) - Click to enlarge 
but for the NQuickPointSeries no coloured dot before the series name according to the series colour is shown:
92% of original size (was 546x24) - Click to enlarge 
How do I force the coloured dots to be visible in the legend?
Thanks for the help, Best regards, Joern
|
Group: Forum Members
Last Active: 6 days ago @ 6:37 AM
Posts: 3,055,
Visits: 4,058
|
Hi Joern , Thank you for pointing out this problem - we just release a SP which is published on our website which fixes it . Let us know if you meet any problems or have any questions .
Best Regards, Nevron Support Team
|