필터 지우기
필터 지우기

JFreeChart Pointer for Dialdemo

조회 수: 1 (최근 30일)
Sven Koerner
Sven Koerner 2011년 2월 9일
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?

채택된 답변

Yair Altman
Yair Altman 2011년 2월 14일
needle2 = javaObjectEDT('org.jfree.chart.plot.dial.DialPointer$Pointer',0);

추가 답변 (1개)

Sven Koerner
Sven Koerner 2011년 2월 14일
It works! Many thanks to Altmany!

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by