Bitcoin Forum

Bitcoin => Project Development => Topic started by: Hyena on September 17, 2013, 08:56:29 AM



Title: Bitcoin Charts - source code?
Post by: Hyena on September 17, 2013, 08:56:29 AM
I want my own currency to be displayed similarly to how bitcoincharts allows TA. Is the source code for rendering such images and doing the same TA open source?

http://bitcoincharts.com/charts/chart.png?width=940&m=mtgoxUSD&SubmitButton=Draw&r=60&i=&c=0&s=&e=&Prev=&Next=&t=S&b=&a1=&m1=10&a2=&m2=25&x=0&i1=&i2=&i3=&i4=&v=1&cv=0&ps=0&l=0&p=0&


Title: Re: Bitcoin Charts - source code?
Post by: Hyena on September 17, 2013, 09:06:34 AM
PHP, javascript and if necessary then C++ would not be a problem either.

I'm a bit worried about the bandwidth though and would suggest rendering the chart at the client side. However, I really like bitcoincharts capabilities for technical analysis and would like some library with the same features. any suggestions?


Title: Re: Bitcoin Charts - source code?
Post by: Sukrim on September 17, 2013, 09:14:43 AM
Depends on the resolution that clients can access I guess - giving out your data points and letting clients render the stuff might be nice (especially when having hover-text etc.), on the other side these are harder to export + performance can go down a LOT once you go past a few dozen data points (depending on the client machine of course).

PNGs should be reasonably small anyways and data likely can be cached a little bit too.
A site using highcharts would be https://ripplecharts.com/ for example, if you want to check that out further.


Title: Re: Bitcoin Charts - source code?
Post by: Hyena on September 17, 2013, 10:36:32 AM
I don't like the charts being vector graphics based. The image should be easily saved and rendered at the client side. Also I'm not seeing any obvious controls for technical analysis with Highcharts.