jaspersoft Studio时间序列图表标签

时间:2018-09-26 07:58:44

标签: jasper-reports timeserieschart

Jaspersoft Studio中的时间序列图向导具有一个可以在其中指定标签figure №1

的字段,我感到很惊讶

但它没有显示在预览figure №2 ...

因此,我尝试了另一种类型的图表,但确实显示为figure #3所示,但我不得不更改属性,如figure #4所示

我没有找到时序图表figere #5的确切属性

最后,我尝试了这个StackOverflow问题link to question的解决方案,因此我将其提供的jar添加到类路径中,但出现错误

  

net.sf.jasperreports.engine.JRRuntimeException:无法创建图表定制程序实例。       在net.sf.jasperreports.engine.fill.JRFillChart.createAndInitCustomizer(JRFillChart.java:351)       在net.sf.jasperreports.engine.fill.JRFillChart。(JRFillChart.java:305)       在net.sf.jasperreports.engine.fill.JRFillObjectFactory.visitChart(JRFillObjectFactory.java:704)       在net.sf.jasperreports.engine.base.JRBaseChart.visit(JRBaseChart.java:578)       在net.sf.jasperreports.engine.JRAbstractObjectFactory.getVisitResult(JRAbstractObjectFactory.java:88)       在net.sf.jasperreports.engine.fill.JRFillElementGroup。(JRFillElementGroup.java:82)       在net.sf.jasperreports.engine.fill.JRFillElementContainer。(JRFillElementContainer.java:95)       在net.sf.jasperreports.engine.fill.JRFillBand。(JRFillBand.java:129)       在net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:524)       在net.sf.jasperreports.engine.fill.JRFillSection。(JRFillSection.java:74)       在net.sf.jasperreports.engine.fill.JRFillObjectFactory.getSection(JRFillObjectFactory.java:500)       在net.sf.jasperreports.engine.fill.JRBaseFiller。(JRBaseFiller.java:288)       在net.sf.jasperreports.engine.fill.JRVerticalFiller。(JRVerticalFiller.java:79)       在net.sf.jasperreports.engine.fill.JRFiller.createBandReportFiller(JRFiller.java:251)       在net.sf.jasperreports.engine.fill.JRFiller.createReportFiller(JRFiller.java:272)       在net.sf.jasperreports.engine.fill.BaseFillHandle。(BaseFillHandle.java:86)       在net.sf.jasperreports.engine.fill.AsynchronousFillHandle(AsynchronousFillHandle.java:120)       在net.sf.jasperreports.engine.fill.AsynchronousFillHandle.createHandle(AsynchronousFillHandle.java:244)       在net.sf.jasperreports.engine.fill.AsynchronousFillHandle.createHandle(AsynchronousFillHandle.java:235)       在com.jaspersoft.studio.editor.preview.view.control.ReportController $ 1.run(ReportController.java:426)       在org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)   引起原因:java.lang.ClassNotFoundException:net.sf.jasperreports_6.6.0.final无法找到com.jaspersoft.TimeLabel.TimeLabels。       在org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:484)       在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)       在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)       在org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)       在java.lang.ClassLoader.loadClass(ClassLoader.java:357)       在java.lang.Class.forName0(本地方法)       在java.lang.Class.forName(Class.java:348)       在net.sf.jasperreports.engine.util.JRClassLoader.loadClassForRealName(JRClassLoader.java:174)       在net.sf.jasperreports.engine.util.JRClassLoader.loadClassForName(JRClassLoader.java:114)       在net.sf.jasperreports.engine.fill.JRFillChart.createAndInitCustomizer(JRFillChart.java:346)       ...还有20个`

0 个答案:

没有答案