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
615
Legend FormatString has no effect
posted

Here's my sample code, called after InitializeComponent.  It seems to have no effect, as the legend text is always the series name.  How do I change the legend text?  Is this a bug?  Any workaround?  It's a line graph only. 

            Hashtable labelHash = new Hashtable();
            labelHash.Add("CURRENTVALUE", new LineChartCurrentValueRenderer(this));
            mChart.LabelHash = labelHash;
            mChart.Legend.FormatString = "<CURRENTVALUE>";