Need help with JDraw to display a Trend for Scalar Attribute when mouse press
I have a SimpleScalarViewer in JDraw and want to display a pop up Trend when a mouse press in the SimpleScalarViewer area.
I tried to configure className and classParam under Extensions tab with className = fr.esrf.tangoatk.widget.attribute.Trend but it has no effect?
Hello,
The click on JDSwingObject was not possible so I fixed this in the last ATK release (9.3.8).
I also added a simple panel to display a trend on a NumberScalar but It is a simple panel and if you want something more sophisticated you need to write your own. You can take fr.esrf.tangoatk.widget.util.SimpleTrend as an example.
Jean-Luc
Thanks Jean-Luc:
It worked.
Another question is: Can I pass the Dataview options, Smoothing, Flat, Neighbors = 50 to the fr.esrf.tangoatk.widget.util.SimpleTrend?
If so, how do I set them?
Tac.
No, as I said the SimpleTrend is a very simple panel.
You can write your own class and set-up option by code.
Here is an example of a Panel that do want you want: