}
// Set the current highlight region in the plot
// TODO - think about setting highlightPanel.bounds instead
plot.setHighlight(startDomainX, endDomainX);
plot.getDomain().setEndpoints(startDomainX, endDomainX);
plot.redraw();
}
else if (hiliteBounds != null && isDragging) {
chart.setAnimating(true);
// hiliteLeftDomainX represents the domain-x value of the left edge