322323324325326327328329330331332333
public void onFocus(final PlotFocusEvent event) { if(event.getFocusDataset()>=0) // zooming { ChartComment comment = new ChartComment(); comment.setDomainValue(event.getDomain()); commentPanel.toogleEditView(comment); } } });