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

Message ListMessage List     Post MessagePost Message

  Issue with candlestick Financial chart
Posted by Parvesh Jain on Oct-01-2013 10:33
Attachments:
In our current website we have stock charts using ChartDirector

http://www.askkuber.com/IndianStock/TechnicalStockChart

Input company name Pidilite Industries Ltd and them draw the chart

In this page charts are working fine. Recently we started migrating to newer version of JSF (JSF2) and newer version of Primefaces and same code for chart is not displaying CandelStick charts. Please have a look at attached screen

Here is the code to add the candelstick chart

FinanceChart m = new FinanceChart(width);
m.addCandleStick(0x00ff00, 0xff0000);

We are not able to figure out what is wrong we are doing because of which chart is showing up.

Thanks in advance.
Pravesh
TechnicalChart.png

  Re: Issue with candlestick Financial chart
Posted by Peter Kwan on Oct-02-2013 01:56
Hi Parvesh,

I think the chart you attached is a normal candlestick chart.

In the legend, you can see that the open price for the last trading session is 252.7, and the close price is also 252.7, so it is normal the candle body for the last trading session is zero in height. I suspect for all the other candlesticks, the open and close prices are the same, so they all have candle body of zero height.

You may want to check your database code or your database or your charting code to verify that you are using the correct data to plot the chart.

Regards
Peter Kwan

  Re: Issue with candlestick Financial chart
Posted by Parvesh Jain on Oct-02-2013 10:18
Thanks a tons.

This resolved the issue.

Parvesh