1. Rick Domogalik
  2. PowerBuilder
  3. Monday, 10 January 2022 16:44 PM UTC

I have a pie graph that is giving me issues with the label location.  It works fine with only 4-5 items in the graph.  When the number of items gets up to around 12, the labels start overlapping each other.  I do not see a way where I can change the style of the label.  I have tried reducing the font size, but this gets really messy and un-readable. 

Is there a way to format the labels to keep this from happening.

 

Also, can you change where the "leader" line starts?  for example, it always starts in the center of the pie slice.  Can that be moved to the edge of the slice.  It just looks so messy with all those lines.

 

Thanks for the help.

 

Rick

Miguel Leeuwe Accepted Answer Pending Moderation
  1. Tuesday, 11 January 2022 04:22 AM UTC
  2. PowerBuilder
  3. # 1

You could try to add Zoom in and out functionality to your chart by doing Modify(). There should be some examples of how to do that, but I can't find anything right now.

I also vaguely seem to remember that there's a way to show the labels "diagonally" instead of horizontally.

I'd suggest you have a look at "Google charts", "Apache Echarts" ( https://echarts.apache.org/en/index.html ), "Flowcharts" or even Microsoft charts (which you would have to wrap into an ActiveX C# solution, not my recommendation).

regards

Comment
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Monday, 10 January 2022 18:26 PM UTC
  2. PowerBuilder
  3. # 2

open a bug case for this.  Appeon is planning on making graph dw improvements and this is something they need to know about.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.