Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Java
 QCSPCChart SPC for Java
 Custom Point Highlighting
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

HilaK

USA
1 Posts

Posted - 26 Apr 2017 :  10:07:27  Show Profile  Reply with Quote
Hi,

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.

quinncurtis

1531 Posts

Posted - 26 Apr 2017 :  11:13:30  Show Profile  Reply with Quote
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.
Go to Top of Page
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07