How do I disable all event notifiers?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
ptd26
Posts: 27
Joined: Sun Nov 08, 2009 10:12 am
antibot: No, of course not.

How do I disable all event notifiers?

Post by ptd26 » Sun Jul 11, 2010 9:25 am

Each time I update my charts, I call several methods whether they need updating or not...just simpler than checking. For example, I may reset range, cursor, and others. I want to disable all notifiers so that the chart is not repainted after each individual change, but only once at the end after I changed everything. How do I do this?

skunk
Posts: 1087
Joined: Thu Jun 02, 2005 10:14 pm
Location: Brisbane, Australia

Re: How do I disable all event notifiers?

Post by skunk » Sun Jul 11, 2010 3:10 pm

org.jfree.chart.JFreeChart contains this method

Code: Select all

public void setNotify(boolean notify)

Locked