code: private void jCheckBoxMaxPointsActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_jCheckBoxMaxPointsActionPerformed
      {//GEN-HEADEREND:event_jCheckBoxMaxPointsActionPerformed
          if (jCheckBoxMaxPoints.isSelected()) {
              parent.getGraphPanelChart().getChartSettings().setMaxPointPerRow(getValueFromString((String) jComboBoxMaxPoints.getSelectedItem()));
          } else {
              parent.getGraphPanelChart().getChartSettings().setMaxPointPerRow(-1);
          }
          refreshGraphPreview();
      }
docs: GEN-LAST:event_jCheckBoxDrawCurrentXActionPerformed