Hi,
Is it possible to add guidelines to a Stock Events chart as in the stacked area chart? (http://www.amcharts.com/javascript-charts/stacked-area/)
By the way, am loving the new website and JsFiddle is an awesome addition!
Thanks in advance,
Grum
Yes, it's possible to add Guides to Stock Chart's panels. It's absolutely the same as adding them to regular charts, except you're adding them to StockPanel. I.e.:
// Let's add a guide
var guide1 = new AmCharts.Guide();
guide1.date = new Date(2011, 6, 25);
guide1.lineColor = "#CC0000";
guide1.lineAlpha = 1;
guide1.dashLength = 2;
guide1.inside = true;
guide1.labelRotation = 90;
guide1.label = "Guide label";
stockPanel1.categoryAxis.addGuide(guide1);
And here's live example:
http://jsfiddle.net/martynasma/6KRbp/26/
Perfect and thanks for the prompt response.
1. Is that any way we can rotate the category axis values. as shown in the attached image.... and
2. i am using "L:NN A" format to show time but i need to show time with ...AM or PM ... extectly as shown in the image..
i lost my post.. unable to locate my post.. i am not feeling comfortable with new .. support system. very complicated. no help .. older one was very easy to use... please post some video tutorial on you tube so people can get familier.
Thanks..