diff --git a/numass-control/cryotemp/src/main/kotlin/inr/numass/control/cryotemp/PKT8Display.kt b/numass-control/cryotemp/src/main/kotlin/inr/numass/control/cryotemp/PKT8Display.kt index 1ef484c1..58eba38b 100644 --- a/numass-control/cryotemp/src/main/kotlin/inr/numass/control/cryotemp/PKT8Display.kt +++ b/numass-control/cryotemp/src/main/kotlin/inr/numass/control/cryotemp/PKT8Display.kt @@ -1,6 +1,5 @@ package inr.numass.control.cryotemp -import hep.dataforge.description.Descriptors import hep.dataforge.fx.asBooleanProperty import hep.dataforge.fx.bindWindow import hep.dataforge.fx.dfIconView @@ -145,8 +144,9 @@ class PKT8Display : DeviceDisplayFX(), PKT8ValueListener { private val plotFrameMeta: Meta = device.meta.getMetaOrEmpty("plotConfig") private val plotFrame: PlotFrame by lazy { - JFreeChartFrame(plotFrameMeta).apply { - plots.descriptor = Descriptors.forJavaType(TimePlot::class.java) + JFreeChartFrame().apply { + configure(plotFrameMeta) + plots.setType() PlotUtils.setXAxis(this, "timestamp", "", "time") } }