Pie on Linux without running X11
Posted: Tue May 24, 2011 9:11 am
I running TeeChart on Linux without running X11. Wenn i use PieSeries i get this Exception.
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at sun.awt.HeadlessToolkit.getScreenSize(HeadlessToolkit.java:261)
at com.steema.teechart.drawing.Graphics3D.getScreenWidth(Graphics3D.java:301)
at com.steema.teechart.styles.Circular.calcCircledRatio(Circular.java:151)
at com.steema.teechart.styles.Circular.doBeforeDrawValues(Circular.java:200)
at com.steema.teechart.styles.Series.drawSeries(Series.java:2267)
at com.steema.teechart.Chart.internalDraw(Chart.java:756)
at com.steema.teechart.Chart.paint(Chart.java:2031)
at com.steema.teechart.exports.ImageExport.image(ImageExport.java:107)
at com.steema.teechart.Chart.image(Chart.java:310)
at com.steema.teechart.exports.ImageExportFormat.save(ImageExportFormat.java:110)
at org.tribut.targettbsev.TbSevOhneChartImgHandler.onRender(TbSevOhneChartImgHandler.java:100)
Thanks!
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at sun.awt.HeadlessToolkit.getScreenSize(HeadlessToolkit.java:261)
at com.steema.teechart.drawing.Graphics3D.getScreenWidth(Graphics3D.java:301)
at com.steema.teechart.styles.Circular.calcCircledRatio(Circular.java:151)
at com.steema.teechart.styles.Circular.doBeforeDrawValues(Circular.java:200)
at com.steema.teechart.styles.Series.drawSeries(Series.java:2267)
at com.steema.teechart.Chart.internalDraw(Chart.java:756)
at com.steema.teechart.Chart.paint(Chart.java:2031)
at com.steema.teechart.exports.ImageExport.image(ImageExport.java:107)
at com.steema.teechart.Chart.image(Chart.java:310)
at com.steema.teechart.exports.ImageExportFormat.save(ImageExportFormat.java:110)
at org.tribut.targettbsev.TbSevOhneChartImgHandler.onRender(TbSevOhneChartImgHandler.java:100)
Thanks!