Issues - Series labels

Posted by: olivier.rondeau on 23 October 2019, 5:25 am EST

    • Post Options:
    • Link

    Posted 23 October 2019, 5:25 am EST

    Hello,

    There is some issues with the spread when customized graphics are in the sheet.

    Some label types as purcentage are not restitued well, and sometimes the value does not make sense or is not placed on the right place (see the captures + the sheet with 2 graphic examples).

    Apparently all the label notions seems a little bit random in the spread restitution. Do you think you can do something about it ?

    Thank you10918 - Series restitution example.zip

  • Posted 23 October 2019, 5:44 am EST

    Sorry about the topic spamming, everytime I create one I had a 404 error, and the topic was not found in https://www.grapecity.com/forums/spread-winforms/

    Can you erase the others ?

    Thank you

  • Posted 25 October 2019, 9:44 am EST

    Hello,

    Could you please try to use the following code and share with us what do you observe. Does the issue gets resolved for you```

    FarPoint.Win.Spread.Model.GeneralFormatter perFormt = new FarPoint.Win.Spread.Model.GeneralFormatter();

    perFormt.SetFormatString(“%0”, false);

               foreach (FarPoint.Win.Spread.Chart.SpreadChart ctrl in fpSpread1.ActiveSheet.Charts)
               {
                    if(ctrl.Model.PlotAreas[0].GetType().Name=="PiePlotArea")
                    {
                         PieSeries series = (PieSeries)ctrl.Model.PlotAreas[0].Series[0];
                         series.LabelVisible = true;
                         series.LabelFormatter = perFormt;
                         var temp = series.Values;
                    }
               }
    
    
    Best wishes,
    Ruchir
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels