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
280
Text imposed in the legend
posted

Hi,

  I attached a sample of a problem that I have and I wonder if it's a bug. I am using v9.2.

I have a composite chart which has 3 chartlayers. Each of them have one or two series. I don't want the first series to be in the legend though so I let the series' label empty. The other series' labels aren't.

What happens is that the text of the other series are imposed and not clear in the legend. If I add something in the first series' label, the legend looks fine.

Could you help me to find out what is going on? Is there a workaround that I can do to not display my series in the legend without having the text imposed?

Thanks,

UltraChart_LegendIssue.zip
  • 17605
    posted

    Probably the best way to solve this is creating different chart layers for every series. With this you can control which chart layer to be displayed in the legend with:

    compositeLegend1.ChartLayerList = "chartLayer1|chartLayer2|chartLayer3";