Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCSPCChart SPC for Java
 Custom Point Highlighting

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
HilaK Posted - 26 Apr 2017 : 10:07:27

In javascript, I'm wanting to be able to highlight or point out certain points. I don't see a way to natively have custom highlight rules, so I thought maybe I could get the location of the points and draw something on the canvas. Problem with this is I don't know how to get coords of the points.

What would be the best way to accomplish this? Thanks.
1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 26 Apr 2017 : 11:13:30
You can click on the chart and add annotations at that point. That is discussed in Chapter 14 of the manual, Event Handling for Alarms and Tooltips. You can also enter a Note for a given sample interval, which will show in the table above the chart in the Notes row. See Chapter 10, around page 175, in the section Updating Chart Data.

The HTML Canvas used by the JavaScript library is internal to GWT code of the library and is not externally accessible for drawing. For the same reason, there is no way to access the actual pixel values of plotted objects in the Canvas.

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