Profile Picture

Pie Chart - Label Mode

Posted By Jerry Jacob 9 Years Ago
Author
Message
Jerry Jacob
Question Posted 9 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 15, Visits: 78
Is there a way to change the labelmode based on the data?

Something along the lines of

     
if (pieSeries.Values[i] > .1){
        //I want to change the labelMode of this value to Center on the pie chart
        pieSeries.LabelMode = PieLabelMode.Center;
       }else {
        //I want to change the labelMode of this value to SpiderNoOverlap on the pie chart
        pieSeries.LabelMode = PieLabelMode.SpiderNoOverlap;
       }


Also how can I adjust the lengths of the lines for SpiderNoOverlap.  I tried the following without success.

      pieSeries.DataLabelStyle.ArrowLength = new NLength(1.0f,NRelativeUnit.ParentPercentage);
      pieSeries.DataLabelStyle.ArrowPointerLength = new NLength(1.0f,NRelativeUnit.ParentPercentage);






Threaded View

Threaded View
Forum Post Pie Chart - Label Mode By Jerry Jacob ( 9 Years Ago )
Forum Post The problem comes when the pie looks like this. Where 2 exactly... By Jerry Jacob ( 9 Years Ago )
Forum Post Hi Jerry, Unfortunately currently there is no way to force the... By Nevron Support ( 9 Years Ago )
Forum Post That was a big help. Sorry for posting this in the wrong sub-forum.... By Jerry Jacob ( 9 Years Ago )
Forum Post Hi Jerry, You can try to diminish the LeadOffArrowLength and... By Nevron Support ( 9 Years Ago )
Forum Post I tried that but when it is in SpiderNoOverlap it doesn't seem to use... By Jerry Jacob ( 9 Years Ago )
Forum Post Hi Jerry, Unfortunately the control currently does not support non... By Nevron Support ( 9 Years Ago )
Forum Post I understand that, I was wondering if there was a suggested... By Jerry Jacob ( 9 Years Ago )
Forum Post Where would I find the name though? Under properties I see NChart1,... By Jerry Jacob ( 9 Years Ago )
Forum Post Hi Jerrry, This obviously relates to SSRS - in this case you simply... By Nevron Support ( 9 Years Ago )
Forum Post This may be a silly question but how do I get a NChartControl in to... By Jerry Jacob ( 9 Years Ago )
Forum Post Hi Jerry, The NChartControl instance (nChartControl) is automatically... By Nevron Support ( 9 Years Ago )
Forum Post I tried different ranges of numbers, however for my current situation... By Jerry Jacob ( 9 Years Ago )
Forum Post Hi Jerry, One solution would be to use anchor panels for the labels... By Nevron Support ( 9 Years Ago )
Forum Post I have tried pieSeries.LabelMode =... By Jerry Jacob ( 9 Years Ago )
Forum Post Hi Jerry, Probably you started experimenting with zero value - that's... By Nevron Support ( 9 Years Ago )
Forum Post Hi Jerry, You can control the length of the connectors using the... By Nevron Support ( 9 Years Ago )


Similar Topics


Reading This Topic