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
80
Custom Legend Labels
posted

Hello Is there a way to create a legend for a composite column line chart  that shows a one Label for the columns ( I.e. "Break times") and one for the line ( i.e. " Percentage"). Currently  the legend only shows the dates for each column.

  • 17590
    Offline posted

    Hello Timothy,

    Thank you for posting in our community.

    What I can suggest for adding a legend, corresponding to each chart, comprising your composite chart, is adding a new legend in the Legends collection. This could be easily achieved via the Chart Wizard. In this Wizard under the Legends tab a legend for every chart layer, present in your composite tab, could be added. navigate to the "Legends" tab and click "Add New.." to add a legend. A composite chart legend consumes chart layers, so select only chart layer in the Chartlayers ListBox in the lower right area of the chart wizard.

    A detailed walkthrough for creating a composite charts, including adding legends, could be found at:

    http://help.infragistics.com/doc/ASPNET/2014.1/CLR4.0/?page=Chart_Creating_a_Composite_Chart_Using_the_Chart_Wizard_Part_1_of_2.html

    http://help.infragistics.com/Help/Doc/ASPNET/2014.1/CLR4.0/html/Chart_Creating_a_Composite_Chart_Using_the_Chart_Wizard_Part_2_of_2.html

    Additionally, I made a small sample illustrating my suggestion and I am attaching it for your reference.

    I hope you find this information helpful.

    Please let me know if you need any further assistance with this matter.

    UltracHartCompositeLegend.zip