Charts are important for my poker app. I'm using a nice open source Java charting library called JFreeChart. Well, sort of nice. It's powerful and flexible but comes with no documentation. If you actually want to know how to use it, you have to pay 30 euros for the documentation and demos. However I found it was well worth paying the money. With the help of the docs, sample code, and forums, you can make JFreeChart do just about anything.
I use JFreeChart not only to create my poker app's main charts, but also the sparklines. The sparklines were tricky, but with the helpful JFreeChart forums I soon had it sorted.
A great benefit of using JFreeChart is the ability to customise just about every aspect of a chart. Here's what my line charts looked like before I customised the line renderer:
With a bit of inspiration from Google Analytics, here's what my line charts look like now:
The customisation took about 10 lines of code. As ever, the difficulty lies in knowing what 10 lines of code to write.
The Poker Copilot Blog
Tracking the development of Poker Copilot, Mac OS X software for poker analysis and statistics.
Friday, 6 June 2008
Day 6: Creating the Charts
Subscribe to:
Post Comments (Atom)
Poker Copilot Translation Project
Want to use Poker Copilot in your language? Then help with the Poker Copilot Translation Project.
About This Blog
In May 2008 I started working on Poker Copilot, initially as a product to help me with my own poker playing. Soon I joined a "30-day Challenge", where the participants each aimed to launch a software product in 30 days. As a result of this challenge, Poker Copilot version 1.0 was launched in July 2008.
This blog tracks the ongoing development of Poker Copilot. Who would find this blog interesting? People interested in 1-person software development, in Poker, or in both.
Contact me via email at steve at pokercopilot dot com.
This blog tracks the ongoing development of Poker Copilot. Who would find this blog interesting? People interested in 1-person software development, in Poker, or in both.
Contact me via email at steve at pokercopilot dot com.
Blog Archive
-
►
2012
(96)
-
►
May
(13)
- Lock Poker News
- What do MP, EP, CO mean in the positional stats?
- Adding a new Ongame Network poker room to Poker Co...
- Adding a new Merge Network poker room to Poker Cop...
- PokerStars on iPad and Poker Copilot
- Lock Poker and Poker Copilot
- Phil Gordon's Little Gold Book and Poker Copilot's...
- Poker Copilot 3.10 Now Available
- Crushing the Microstakes and Poker Copilot's HUD
- Early Access Version of the next Poker Copilot Upd...
- How many hands do I need for Poker Copilot's HUD t...
- Coming soon: PFR by position, Aggression by street...
- Comments on this Blog
-
►
April
(18)
- Important information from 2+2 : Two Plus Two Foru...
- Coming in the next update: VPIP by position
- A Nice Email…in French
- Poker Copilot Tip: Move HUD Panels without the Ful...
- Update for Winamax Users
- Poker Copilot 3.08 Now Available
- Poker Copilot Blog: 1000+ blog posts
- Poker Copilot and Zoom Poker: Update
- Poker Copilot 3.07 Now Available
- A poker player uses Poker Copilot to improve
- Coming in the next update: FALSE filters
- Mockup of Potential Poker Copilot Dashboard Concep...
- A Poker Copilot work-around for Merge Network idio...
- Poker Copilot App Updating
- Carbon Poker has its own HUD! (but only on Windows...
- Improving Poker Copilot's App Updating
- Poker Copilot 3.06 Now Available
- False Assumptions
-
►
March
(18)
- How NOT to make money as a software company
- Zoom Poker HUD Early Access Edition
- Changes to the Poker Copilot Hand Formatter
- Coming in the Next Update: Zoom Stats can be separ...
- Poker Copilot and Zoom Poker: played my first sess...
- The Absurdity of Modern Life: Facebook claims trad...
- Poker Copilot and Zoom Poker: Progress Update
- What character is that?
- PokerStars screen names
- Poker Copilot and Zoom Poker
- Poker Copilot 3.05 Now Available
- Ongame and Table Size
- Updated Poker Copilot User Guide
- Coming in the next Update: Unopened PFR Statistic
- Poker Copilot 3.04 Now Available
- Google Analytics Update: Almost a Good Graph
- Poker Copilot Website in Russian
- Downloading Older Poker Copilot Updates
-
►
May
(13)
-
▼
2008
(184)
-
▼
June
(32)
- Day 30: Launch!
- Day 29: Testing, Bugs, Retesting
- Day 28: Website Mostly Done
- Day 27: Rest Day, Future Plans
- Day 26: Poker Copilot App Completed
- Day 25: The Logo
- Day 24: License Key Generator Completed
- Day 23: The Name Revealed
- Day 23: One Week and One Big Task Remaining
- Day 20: Latest Screenshots
- Day 19: Setting Priorities
- Day 18: Stress Testing, a Big Win, and a Serious B...
- Day 17: Website Draft Content Written
- Day 16: Payment Processing with a Personal Touch
- Day 13: A Monastery, Wine and Berlin
- Day 12: Google Likes Me More Every Day
- Day 12: Icon and Logo Rethink
- Day 11: Website Hosting
- Day 10: Icon Indecision
- Day 9: Resting, Testing, Listing
- Day 8: The New Interface Revealed
- Day 7: Sparklines
- Day 6: Creating the Charts
- Day 5: Importing Hand History Files
- Day 5: Battles with Swing Layouts
- Day 4: Decided on a Name
- Day 3: Scum and Villainy
- Day 3: 100 Nice Touches
- Day 2: Better Integration with Full Tilt Poker
- Day 2: The Graph Every Poker Player Wants to See
- Day 2: Google Likes Me
- Day 1: Learning How to Package OS X Downloads
-
▼
June
(32)


3 comments:
Reminds me of the old story, told in many variations:
A company was having problems with their boiler and despite all their efforts they couldn't fix it so they called a gas repair man.
The man arrived and with his hammer he hit the boiler hard.
The boiler erupted back into life.
He gave them a bill for $52,000. It was listed as shown:
$2,000 - expenses
$50,000 - knowing where to hit the boiler.
Sometimes even as much as knowing where a punctuation mark is missing from a piece of code can be worth as much.
By the way, you don't know of an equivilent chart for ASP.NET, do you?
Mike,
your old story is spot on!
I don't know any equivalent of JFreeChart for .NET.
Steve
Mike,
Take a look at zedgraph.org - it is not as nice as JFreeChart .. but it is pretty good
-Loren
Post a Comment