# Easy chart error when trying to set style to bar graph

**URL:** <https://forum.inductiveautomation.com/t/easy-chart-error-when-trying-to-set-style-to-bar-graph/4192>\
**Category:** Ignition\
**Created:** [March 22, 2012, 2:03pm UTC](https://forum.inductiveautomation.com/t/easy-chart-error-when-trying-to-set-style-to-bar-graph/4192 "2012-03-22T14:03:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mtedford](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mtedford](https://forum.inductiveautomation.com/u/mtedford)\
**Post date:** [March 22, 2012, 2:03pm UTC](https://forum.inductiveautomation.com/t/easy-chart-error-when-trying-to-set-style-to-bar-graph/4192/1 "2012-03-22T14:03:48Z")

</div>

I get the following error when trying to set an easy chart database pen to a bargraph. The error doesn’t go away when I press ok and usually results in me having to restart designer. I am running ignition 7.3.2

java.lang.ClassCastException: com.inductiveautomation.factorypmi.designer.property.customizers.easychart.PenStyleRenderer$SillyDataset cannot be cast to org.jfree.data.xy.IntervalXYDataset  
at org.jfree.chart.renderer.xy.XYBarRenderer.drawItem(XYBarRenderer.java:745)  
at org.jfree.chart.plot.XYPlot.render(XYPlot.java:3378)  
at org.jfree.chart.plot.XYPlot.draw(XYPlot.java:2950)  
at com.inductiveautomation.factorypmi.designer.property.customizers.easychart.PenStyleRenderer.paintComponent(PenStyleRenderer.java:95)  
at javax.swing.JComponent.paint(Unknown Source)  
at javax.swing.JComponent.paintChildren(Unknown Source)  
at javax.swing.JComponent.paint(Unknown Source)  
at javax.swing.JComponent.paintChildren(Unknown Source)  
at javax.swing.JComponent.paint(Unknown Source)  
at javax.swing.JComponent.paintChildren(Unknown Source)  
at javax.swing.JComponent.paint(Unknown Source)  
at javax.swing.JComponent.paintChildren(Unknown Source)  
at javax.swing.JComponent.paint(Unknown Source)  
at javax.swing.JLayeredPane.paint(Unknown Source)  
at javax.swing.JComponent.paintChildren(Unknown Source)  
at javax.swing.JComponent.paintToOffscreen(Unknown Source)  
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)  
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)  
at javax.swing.RepaintManager.paint(Unknown Source)  
at javax.swing.JComponent.paint(Unknown Source)  
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)  
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)  
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)  
at java.awt.Container.paint(Unknown Source)  
at java.awt.Window.paint(Unknown Source)  
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)  
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)  
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)  
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)  
at java.awt.event.InvocationEvent.dispatch(Unknown Source)  
at java.awt.EventQueue.dispatchEvent(Unknown Source)  
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)  
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)  
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)  
at java.awt.Dialog$1.run(Unknown Source)  
at java.awt.Dialog$3.run(Unknown Source)  
at java.security.AccessController.doPrivileged(Native Method)  
at java.awt.Dialog.show(Unknown Source)  
at java.awt.Component.show(Unknown Source)  
at java.awt.Component.setVisible(Unknown Source)  
at java.awt.Window.setVisible(Unknown Source)  
at java.awt.Dialog.setVisible(Unknown Source)  
at com.inductiveautomation.factorypmi.designer.property.customizers.EasyChartCustomizer$PenPanel$PenEditor.editPen(EasyChartCustomizer.java:1119)  
at com.inductiveautomation.factorypmi.designer.property.customizers.EasyChartCustomizer$PenPanel$EventHandler.actionPerformed(EasyChartCustomizer.java:875)  
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)  
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)  
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)  
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)  
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)  
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)  
at java.awt.Component.processMouseEvent(Unknown Source)  
at javax.swing.JComponent.processMouseEvent(Unknown Source)  
at java.awt.Component.processEvent(Unknown Source)  
at java.awt.Container.processEvent(Unknown Source)  
at java.awt.Component.dispatchEventImpl(Unknown Source)  
at java.awt.Container.dispatchEventImpl(Unknown Source)  
at java.awt.Component.dispatchEvent(Unknown Source)  
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)  
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)  
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)  
at java.awt.Container.dispatchEventImpl(Unknown Source)  
at java.awt.Window.dispatchEventImpl(Unknown Source)  
at java.awt.Component.dispatchEvent(Unknown Source)  
at java.awt.EventQueue.dispatchEvent(Unknown Source)  
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)  
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)  
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)  
at java.awt.Dialog$1.run(Unknown Source)  
at java.awt.Dialog$3.run(Unknown Source)  
at java.security.AccessController.doPrivileged(Native Method)  
at java.awt.Dialog.show(Unknown Source)  
at java.awt.Component.show(Unknown Source)  
at java.awt.Component.setVisible(Unknown Source)  
at java.awt.Window.setVisible(Unknown Source)  
at java.awt.Dialog.setVisible(Unknown Source)  
at com.inductiveautomation.factorypmi.designer.property.CustomizerDialog.setVisible(CustomizerDialog.java:153)  
at com.inductiveautomation.factorypmi.designer.property.propertytable.PropertyTablePanel.handleCustomizerAction(PropertyTablePanel.java:217)  
at com.inductiveautomation.factorypmi.designer.model.CustomizerAction.actionPerformed(CustomizerAction.java:40)  
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)  
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)  
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)  
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)  
at javax.swing.AbstractButton.doClick(Unknown Source)  
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)  
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)  
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)  
at java.awt.Component.processMouseEvent(Unknown Source)  
at javax.swing.JComponent.processMouseEvent(Unknown Source)  
at java.awt.Component.processEvent(Unknown Source)  
at java.awt.Container.processEvent(Unknown Source)  
at java.awt.Component.dispatchEventImpl(Unknown Source)  
at java.awt.Container.dispatchEventImpl(Unknown Source)  
at java.awt.Component.dispatchEvent(Unknown Source)  
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)  
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)  
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)  
at java.awt.Container.dispatchEventImpl(Unknown Source)  
at java.awt.Window.dispatchEventImpl(Unknown Source)  
at java.awt.Component.dispatchEvent(Unknown Source)  
at java.awt.EventQueue.dispatchEvent(Unknown Source)  
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)  
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)  
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)  
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)  
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)  
at java.awt.EventDispatchThread.run(Unknown Source)

Ignition v7.3.2 (b533)  
Java: Sun Microsystems Inc. 1.6.0\_18

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [March 22, 2012, 3:07pm UTC](https://forum.inductiveautomation.com/t/easy-chart-error-when-trying-to-set-style-to-bar-graph/4192/2 "2012-03-22T15:07:42Z")

</div>

Yes, you should upgrade to 7.3.4 on our website:

[http://www.inductiveautomation.com/downloads/ignition](http://www.inductiveautomation.com/downloads/ignition)

We have fixed that issue.
