Pre loader

Change font size of pie chart labels

0
0

I am extending a PieSegmentLabelFormatterBase to format the segment label of a piechart. however I cannot find any information regarding how I can change its size. So my question is How can I change the font size of piechart labels?

Version
4
  • You must to post comments
0
0

Hi Marcus,

You can do this by setting TitleStyle for PieSegment. It accepts FontStyle where you can specify color, font size which are used to draw label for pie segment. Also you can set it when using SciChart Builders API:

sciChartBuilder.newPieSegment().withTitleStyle(25f, Color.BLACK).build()

Best regards,
Yura

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies