Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1470
Changing Legend Icons
posted

Hi there

We are using the UltraWinChart v13.2.20132.2023 in a VS 2010 .NET 4.0 C# WinForms application.

We have a Composite Chart made up of multiple column series and 3 line series

I would like to change the legend icons for my 3 line series only.

For each of the 3 line series I have set the LineAppearance.IconAppearance.Icon to SymbolIcon.Triangle and would like the legend to also display them as Triangles rather than the line which can be difficult to see

How should I go about this?

I have looked at the LineChartStyles sample in the Windows Forms samples and see that the icons are displayed as boxes in the legend but to be honest I cannot make out how you guys do it.

Thanks in advance.

Regards

Geoff

Parents
No Data
Reply
  • 21795
    Offline posted

    Hello Geoff,

    Thank you for posting in our forum.

    UltraChart’s legend does not support IconAppearance for composite line chart. In our LineChartStyles sample the chart is not composite chart – it is 2D line chart bind to data set.

    Please consider using composite Scatter chart. It will show in the legend the icons you have set to the chart. Following the next link you may find how to create a composite chart using the Chart Wizard, the Designer or in code http://help.infragistics.com/Doc/WinForms/current/CLR4.0/?page=Chart_Creating_a_Composite_Chart.html

    Please let me know if you have any further question.

    Thank you for using Infragistics Controls.

Children