JFreeChart Pointer for Dialdemo

3 vues (au cours des 30 derniers jours)
Sven Koerner
Sven Koerner le 9 Fév 2011
Hi, I want to use JfreeChart in Matlab (http://undocumentedmatlab.com/blog/jfreechart-graphs-and-gauges/#comments). For reconstructing a Dialdemo, I need to construct a Pointer for the needle, Constructor-API is here (http://www.jfree.org/jfreechart/api/javadoc/index.html)
My try is: needle2 = org.jfree.chart.plot.dial.DialPointer.Pointer(java.lang.Integer(0));
The class org.jfree.chart.plot.dial.DialPointer has no property or method named 'Pointer'.
The Javapaath to JFreeChart is also embedded. How can I construct the Pointer without failure?

Réponse acceptée

Yair Altman
Yair Altman le 14 Fév 2011
needle2 = javaObjectEDT('org.jfree.chart.plot.dial.DialPointer$Pointer',0);

Plus de réponses (1)

Sven Koerner
Sven Koerner le 14 Fév 2011
It works! Many thanks to Altmany!

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by