return getPixelLow() + padding + (int) (displacement * (getPixelHigh() - getPixelLow() - padding * 2));
}
@Override
public boolean isValid(Date abscissa) {
ITradingDay tradingDay = tradingCalendar.tradingDay(abscissa);
if (tradingDay.getTradingPeriods().length == 0) {
return false;
}
if (baseMarkScale.compareTo(dayScale) >= 0) {
return true;
}