Jump to content
Software FX Community

Bar Charts and Annotations


Recommended Posts

It looks like it has something to do (hard to say without seeing any code) with the way you are attaching your annotation objects to the X-Axis.

Bar charts only support categorical X-Axis, so regardless of your X-Values, the attachment position must be expressed as an index in the X-Axis (0 for the first point, 1 for the second, etc.). In a line chart, the X-Axis is not categorical (if X-Values are passed) and therefore the attachment position is dependent on the X-Value and not on the point index.

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.

Reply to this topic...

×   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.

  • Create New...