Jump to content
Software FX Community

Section on x-axis


Recommended Posts

If your X axis is categorical (you did not supply any numbers but just labels), then from and to will be numbers where 1 is the first label in the X axis. Note that if you say


new AxisSection(1, 3, Color.Red));

Then the section will be drawn between the first and third point in the X axis, you can also use floating point as follows


new AxisSection(1, 2.5, Color.Red));

In this case the section will end in the middle between the second and third point.


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