Visifire Forums: Channel Chart - Problems with Performance - Visifire Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Channel Chart - Problems with Performance Rate Topic: -----

#1 User is offline   Tiago Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 17-July 10

Posted 30 July 2010 - 02:54 PM

I need to do a channel chart like this:
Attached File  Chart.jpg (76.95K)
Number of downloads: 12

I achieve this chart adding two line series (the blue lines) and two stacked area series (the shadow), one transparent and the other one white with opacity.
I have to put these series in a second Y axis, because the stacked area series have to begins in 0.
For the channel overlaps the candle stick, I have to transform the values of the secondary axis in the same scale of the primary axis (that begins in 25).
My problem is that the chart becomes slow when shows the channel.

Is There a simplest and fastest way to do that?
0

#2 User is offline   vivek Icon

  • Advanced Member
  • PipPipPip
  • Group: Team Visifire
  • Posts: 2,539
  • Joined: 19-March 08
  • Gender:Male
  • Location:Bangalore

Posted 02 August 2010 - 05:27 AM

Hi Tiago,

I did not understand the problem properly. Can you please elaborate more on it.
Regards,
Vivek
Team Visifire
0

#3 User is offline   Tiago Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 17-July 10

Posted 02 August 2010 - 11:44 AM

I would like to do a range chart.
I'm doing a financial chart and want to show the range of prices (it's a price indicador called Bollinger Bands).

My problem is that visifire don't have a chart like that, so I did a stacked chart with two dataseries (one transparent and another one white) do show the price range (Bollinger Bands).

The second stacked series that shows the range disappears when I change the minimum and maximum Y values , because the values are very small and the chart don't show the values when I set the minimum Y value (I don't know if this behaviour is a bug). For example, if the value in the first series is 27 and the value in the second one is 3, the chart will show a area beginning from 0 up to 27. The second area will show beggining from 27 up to 30.
If I change the Y minimum value to 25, the first area will show beggining from 25 up to 27 and the second area disappears.

To give a solution to this problem I have to create a secondary axis to put the stacked area and a logic to convert the values, because my first axis will have the price values beginning from 25 up to 40. The secondary axis will have the range price values beginning from 0 up to 40.

So my problem is that doing all this operations to obtain the price range, my chart become very slow.
0

#4 User is offline   vivek Icon

  • Advanced Member
  • PipPipPip
  • Group: Team Visifire
  • Posts: 2,539
  • Joined: 19-March 08
  • Gender:Male
  • Location:Bangalore

Posted 02 August 2010 - 01:42 PM

Hi Tiago,

Can you please tell me how many DataSeries and DataPoints you are using?
Regards,
Vivek
Team Visifire
0

#5 User is offline   Tiago Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 17-July 10

Posted 02 August 2010 - 01:54 PM

There is 246 DataPoints and 6 DataSeries:

Prices: candleStick
Superior Band: line
Inferior Band: line
Medium line (disabled): line
Transparent StackedArea
Range: StackedArea

The total render time is about 3 seconds, it is not so much, showing only the prices is instant.
0

#6 User is offline   vivek Icon

  • Advanced Member
  • PipPipPip
  • Group: Team Visifire
  • Posts: 2,539
  • Joined: 19-March 08
  • Gender:Male
  • Location:Bangalore

Posted 03 August 2010 - 07:42 AM

Hi Tiago,

It seems you have 6 DataSeries with 246 DataPoints each which totals 1476 DataPoints. It might take 2 - 3 seconds to render the chart. Can you please share your code which shows the operations being done to achieve the above workaround.
Regards,
Vivek
Team Visifire
0

#7 User is offline   Tiago Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 17-July 10

Posted 04 August 2010 - 05:35 PM

Vivek, thank you for the attention.
No worry about that, if this time is normal for the number of DataPoints, I will try reduce the number of series.

I will give the sugestion to implement another chart type, a range chart, it will be great!
0

#8 User is online   shoaib Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 106
  • Joined: 20-May 10
  • Gender:Male
  • Location:Bangalore

Posted 18 August 2010 - 04:55 AM

Hi Tiago,

We have not set any time frame for Range Chart. I have put Range Chart in our wish-list. We will consider your requirement in one of our future releases.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users