I was requested by one of my colleagues to get a decent histogram output in ignition. He didn’t care for some characteristics of barchart and wanted more. By this time I’d had some experience with JFreeChart, so I looked up what was available there. When I included
I had no problem, great! But as soon as I tried to declare
chart = ChartFactory.createBarChart(plotTitle,…
I get the following errors:
NameError: name ‘HistogramDataset’ is not defined
NameError: name ‘ChartFactory’ is not defined
Declaring an empty dataset is about the easiest thing you can do. Since the command ‘HistogramDataset’ failed, I’m thinking this part of JFreeChart may not be implemented in the underlying layers of ignition.