|
@@ -60,7 +60,8 @@ class StraightLine extends MeasureItem<StraightLineFeature> {
|
|
|
|
|
|
static StraightLine createLvDpDt(ItemMeta meta, [IMeasureItem? parent]) {
|
|
|
StraightLine sraightLine = StraightLine(meta, parent);
|
|
|
- sraightLine.calculator = TimeSpanCal(sraightLine);
|
|
|
+ sraightLine.repeatableEditable = true;
|
|
|
+ sraightLine.calculator = DpDtCal(sraightLine);
|
|
|
return sraightLine;
|
|
|
}
|
|
|
|
|
@@ -208,6 +209,9 @@ class StraightLine extends MeasureItem<StraightLineFeature> {
|
|
|
feature = StraightLinePhtFeature(this, point, point);
|
|
|
changeCrossIndicatorStyle(CrossIndicatorStyle.vertical);
|
|
|
break;
|
|
|
+ case MeasureTypes.LvDpDt:
|
|
|
+ feature = StraightLineSlopeFeature(this, point, point);
|
|
|
+ break;
|
|
|
default:
|
|
|
}
|
|
|
} else {
|