Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCChart2D for Java
 Variable chart background

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List

* Forum Code is ON
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]


T O P I C    R E V I E W
rixmith Posted - 21 Oct 2017 : 21:01:42
I would like to add a highlight mechanism to my chart. For a simple line plot, what approach would you recommend to produce a different background color for the section of the chart between two given x values.
For example I would like to use the standard background color except when X is between 16 and 22, then I would use a different background color. Is such behavior possible perhaps using a very wide vertical line and a transparent color?

2   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 23 Oct 2017 : 09:39:25
Use the ChartShape class to display a filled rectangle in the current chart. The Multiline.MultilinePlots example is the correct one to look at.
rixmith Posted - 22 Oct 2017 : 11:09:42
I think I found my starting point in the Multiline class of the examples.multiline package.


Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07