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"
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
or perhaps you could try a for-loop if you don't fancy switches
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |