Open Flash Chart

Posted by Mike Haller on Friday, August 8. 2008 at 06:12 in Java

For a private project i'm working now and then, i came across a nice library called Open Flash Chart (OFC). It let's me create nice looking charts with low effort. After hacking Maven and hooking into the event dispatcher for goals, the tool is persisting the data collected from the local Maven builds of developers. A web application aggregates the data and uses OFC to display graphs. It's planned to provide more data graphs, such as count of tests, successes, failures and skipped tests, coverage data etc.



This is a graph showing the durations of the surefire:test goal on a sample project. Hovering over the dots will show a tooltip with additional information.

Version 1 of OFC is using a proprietary data format which looks like this:
&title=com.smartwerkz.commons&
&tool_tip=Build+#x_label#+took+&val;ms&
&x_label_style=10,0x80a033,2&
&y_legend=Goal+surefire:test,10,#736AFF&
&y_max=4207&
&line_hollow=2,Build+Time+[ms],10,4&
&values=3825,1222,948,928,926,1002&


Upcoming Version 2 of OFC is going to use JSON as the data format, which will hopefully be more clearer to use and easier to generate.




Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications
 
Submitted comments will be subject to moderation before being displayed.
 

About

My name is Mike Haller and I'm a software developer and architect at Bosch Software Innovations in Germany. I love programming, playing games and reading books. I like good food, making photos and learning and mentoring about the craftsmanship of commercial software development. Stack Overflow profile for mhaller

Quicksearch