Ulf Dittmer wrote:What exactly do you mean by "chart" - an image with a graphical chart, or would a printout on the console suffice that shows maybe one "*" for each 10 or 50 units of revenue? The former would be rather involved (at least w/o the use of 3rd party packages, which would make it pretty easy), whereas the latter would be comparatively simple.
Edit: On second thought, seeing that you generate HTML, something like this may do the trick: http://www.juiceanalytics.com/writing/lightweight-visualization-in-html/
Ulf Dittmer wrote:That was me :-)
Creating a graphical chart is not trivial without the help of 3rd party libraries. Are you familiar with Java image processing, or Java GUIs? If not, then you'll have a somewhat lengthy learning curve on your hands. I'm not even sure which terms to search for that do not lead to results utilizing some library or other.
Nicky Dee wrote:"Using third party library to create a chart is NOT ALLOWED. You can choose other chart type such as pie or line"
or perhaps you could try a for-loop if you don't fancy switches
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton