Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[nebula-dev] New topic in forum Nebula, called add dropdown menu with Nebula XY graph, by Cyril LAGARDE

Title: Eclipse Community Forums
Subject: add dropdown menu with Nebula XY graph Author: Cyril LAGARDE Date: Wed, 27 April 2016 13:57
Hello

I'm trying to have a dropdown menu with a mouse right click on a specific point but I don't know how to do (Is-it possible to do?)

I use this to draw my points.
CircularBufferDataProvider traceDataProvider = new CircularBufferDataProvider(false);
traceDataProvider.setBufferSize(size);
traceDataProvider.setCurrentXDataArray(x);
traceDataProvider.setCurrentYDataArray(y);

trace = new Trace("test", xyGraph.getPrimaryXAxis(), xyGraph.getPrimaryYAxis(), traceDataProvider);
      trace.setPointStyle(PointStyle.FILLED_DIAMOND);
      trace.setPointSize(10);
      trace.setTraceType(TraceType.POINT);
      trace.setAntiAliasing(false);

index.php/fa/25776/0/

Thanks

Attachment: nebula.png
(Size: 19.54KB, Downloaded 2 times)
[ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ]

Back to the top