[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GT] Interactive SVG GT chart
- To: devel
AT
geniustrader.org
- Subject: [GT] Interactive SVG GT chart
- From: Chia-liang Kao <clkao
AT
clkao.org>
- Date: Sun, 15 Nov 2009 23:45:21 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=Tlr8btAyZbQVHos6CVrZThMeRB3YPhvACmJ8HuGtaag=; b=LoO8eYKIyJVu8R5Qxe1yDMfrhMIioMerGcuqzosVbC0jT5vUVkh6LIW5uDGpmC5u+B /olR/vckC+vzyfHDfbzTKANtqOJX/mQuwwYyvsGGE/TAWZt8OAYmSPK4ZJIZa1Dmmeos WhYpOVrWVwgRHzqRi26Fpb+g7Dz1j2cqJIrMk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=GwwrLdHzW1aULRGkjoxhukJ8csgs9PTaErqTeGYBh/PiQSQloqkh4QJZPMAY5HOBhx G6DtzmYCqVgCfBb507eCiDjArNDUQ/ZXTAh+UYx8lN68bhxgiNwZNpO9vVXm6t00JXj9 35kATbnlVvrfouGOLMHHkkjhoWFtx7SBwbwtc=
- Message-id: <cdd66f110911150745y1829c543qdc13abb026351bf@mail.gmail.com> (sfid-20091115_165555_421979_E8FCAEC5)
- Reply-to: devel
AT
geniustrader.org
- Sender: chialiang
AT
gmail.com
Hi all,
I just published a charting tool for GT with raphaeljs:
http://github.com/clkao/Finance-GeniusTrader-Chart.
In summary, it's a web/svg-based interactive GT chart that allows you
to browse through all the data in DB, with a cursor that shows you the
values for the column you are looking at. Sorry that I don't have a
demo setup somewhere.
It's still quite rough and a bit slow, but it can already do quite a
bit, including dynamic paging. look at the javascript in
template/default.html, it's quite similar to how the current
graphics.pl defines zones and graphical objects. I am going to add
overlays for trade histories from system or csv when i have time. but
please feel free to hack on it.
warning: this requires a lot of bleeding edge modules, and a modern
browser that supports SVG!
You'll need the CPAN branch of GT (or my cpan-pu branch on github for
better performance), Plack and Tatsumaki from CPAN, after installing
all deps, run:
% plackup -p 3997
and then visit http://localhost:3997/d/TX/day, change TX and day to
some code/timeframe you have in the database.
Cheers,
CLK