ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Drawing Text, Line, Arrows and other annotation tools
Posted by digitalalpha on Aug-01-2016 05:30
Hi,
I am using Finance Chart with Track view and it is working great.

Is there is a way using say your javascript to add annotation on the chart image and then save it as image to local drive. Can you provide a .php based sample. I am looking something similar like the following link;

http://stockcharts.com/h-sc/ui?s=AAPL

and then click on Annotate( HTML5) new link

They allow lines, circles, text and more.

Many Thanks

  Re: Drawing Text, Line, Arrows and other annotation tools
Posted by Peter Kwan on Aug-01-2016 21:29
Hi digitalalpha,

I have seen some of our customers creating something similar with ChartDirector. Basically, they created something like a "Windows Paint" program in Javascript, so that they can draw things interactively on top of an image, where the image is a chart image  produced by ChartDirector. So it is basically two separate parts - a "Windows Paint" program, and a chart generating program. The chart generating program is used to produced a chart image for the "Window Paint" program to paint on.

If you need to create similar things, please create a "Windows Paint" program first. This part should be unrelated to the chart. It just draws things interactively. Then in your web page, you can use that program to draw things on the chart image.

Unluckily, I have not written a "Windows Paint" in Javascript myself, so I do not have the "Windows Paint" part to create an example.

Regards
Peter Kwan