Пример #1
0
 /* (non-Javadoc)
  * @see org.xidget.ifeature.chart.IPlotFeature#updateCoords(org.xidget.chart.Point, double[])
  */
 @Override
 public void updateCoords(Point point, double[] coords) {
   if (point.coords != null) repaint(point);
   point.coords = coords;
   if (point.coords != null) repaint(point);
   findExtrema();
 }
Пример #2
0
 /* (non-Javadoc)
  * @see org.xidget.ifeature.chart.IPlotFeature#updateLabel(org.xidget.chart.Point, java.lang.String)
  */
 @Override
 public void updateLabel(Point point, String label) {
   point.label = label;
   repaint();
 }