Jump to content
JChartFX Community
  • 0

Label on Pyramid Chart


weblivz

Question

Firstly, amazing library! Thanks folks.

Now, I want to do a fairly basic pyramid chart but i want to show a "You are here" label on the chart.

I cannot for the life of me figure out how to do it. I have resorting to annotating the chart after it has rendered ( i get the height of the chart and set the left/height properties to position the label ).

However, i think there is a better way using attach or attachElastic - anyone know of it?

many thanks,

/steven

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Unfortunately the annotation attach functionality is only supported in "Cartesian-axes" charts, i.e. Bar, Line, Area, Curve, CurveArea, Step, HighLowClose, OpenHighLowClose or any combination of these.

It is NOT supported on Pie, Doughnut, Pyramid, Radar or any of the other galleries.

In the case of radar it is clear we could use polar coordinates but in the others it is not clear how would you describe the position of an object.

Have you checked our point labels? If the position of the point labels is near where you would want them, it is possible to turn on a point label for a specific serie/point combination using the Chart.getPoints() collection.

Regards,

JuanC

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...