Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin - Fixed Chart bugs: 140620,117986

- Summary:

 

Fixed two chart bugs

140620: Set ShowTooltip and UrlRedirect to the chart, preview, showTooltip does not take effect

117986: Chart scripting errors are ignored

- Bugzilla Bug (s) Resolved: 140620, 117986

- Description:

140620: it is now possible to have tooltip and redirect work on the same chart element. More generally any element can have any number of trigger/action. However there can be only one action per trigger.

117986: Chart scripting errors are now reported at runtime (they used to be ignored, making it very hard to debug them). The error messages of the report have generally be improved to be more readable. Chart script syntax errors should also be reported through the problems view when model team will add required support.

 

Cleaned up some exception code throughout the code

Enhanced model xsd to generate EMap structure in instead of using patch.

Removed the default caching to disk for chart images by swing device renderer

Fixed a bug when the logger cannot write to disk

Renamed Button to Ellipse in xsd file

Various code cleanup


- Tests Description  : Unit tests, interactivity tests, script error tests

- Notes to Build Team:

- Notes to Developers:

- Notes to QA: 
 

 

- Notes to Documentation:  Here is the new format for errors reported at the end of the report:

The following items have errors:

 

Label (id = 7):

+ There are errors evaluating script "(".

+ There are errors evaluating script "(8".

+ There are errors evaluating script "(o".

 

Chart mychart:

+ There are problems(s) generating extended item Chart mychart.

+ syntax error at line 12 of chart script:' asdfasdfasdfchtr5^&$%&$68('

- Files Edited:
"/org.eclipse.birt.chart.device.swt/src/org/eclipse/birt/chart/device/swt/SwtRendererImpl.java" "/org.eclipse.birt.chart.device.swt/src/org/eclipse/birt/chart/device/swt/SwtEventHandler.java"

"/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/frameworks/errordisplay/ErrorDialog.java"

"/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/device/IDeviceRenderer.java" "/org.eclipse.birt.chart.engine/src/model/model.genmodel" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/ComponentFactoryImpl.java" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/Axis.java" "/org.eclipse.birt.chart.engine/xsd/data.xsd" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/util/ComponentSwitch.java" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/internal/factory/DataProcessor.java" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/DataSet.java" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/DataPackageImpl.java" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/ComponentPackage.java" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/event/ArcRenderEvent.java" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/ComponentPackageImpl.java" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/event/PrimitiveRenderEvent.java" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/DataPackage.java" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/engine/i18n/nls.properties" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/event/WrappedInstruction.java" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/EStringToDataSetMapEntryImpl.java" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/log/Logger.java" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/DataFactoryImpl.java" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/util/ComponentAdapterFactory.java" "/org.eclipse.birt.chart.engine/xsd/attribute.xsd" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/script/ScriptHandler.java" "/org.eclipse.birt.chart.engine/xsd/component.xsd" "/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/Generator.java"

"/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java"

"/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/datafeed/DataSetProcessorImpl.java" "/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/datafeed/StockDataSetProcessorImpl.java" "/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/Bar.java"

"/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/TaskSelectData.java"

"/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportItemImpl.java" "/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/i18n/nls.properties"

"/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/image/JavaxImageIOWriter.java" "/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/swing/SwingRendererImpl.java" "/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/swing/ShapedAction.java" "/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/swing/SwingEventHandler.java"

"/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/i18n/Messages.properties" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/i18n/MessageConstants.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java"


- Files Added:

 

- Files Deleted

 

 


Back to the top