Page 1 of 2

Calculated expression as chart series value

Posted: Thu Sep 29, 2011 5:36 am
by Elisée
Hello guys.

I am having trouble setting a column chart in a report.
Let's say i have a dataset Customers with 3 columns: 'Name', 'Income', 'expense'.
I'm trying to design a chart that displays the balance of each customer:
So in my chart series, i set argument column to 'Name' and I set value expression as '{Income + expense}.
When i go to preview, i have the following exception:
ArgumentError: Error #2015: BitmapData non valide.
at flash.display::BitmapData/ctor()
at flash.display::BitmapData()
at stimulsoft.flex.graphics::StiGraphics/drawWYSIWYGText()[D:\.Builder\temp\Stimulsoft_Base\stimulsoft\flex\graphics\StiGraphics.as:1162]
at stimulsoft.report.painters::StiContextPainter/drawTextGeom()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\painters\StiContextPainter.as:328]
at stimulsoft.report.painters::StiContextPainter/render()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\painters\StiContextPainter.as:216]
at stimulsoft.report.painters::StiContext/render()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\painters\StiContext.as:30]
at stimulsoft.report.painters.components::StiChartPainter/drawChart()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\painters\components\StiChartPainter.as:48]
at stimulsoft.report.painters.components::StiChartPainter/paintChart()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\painters\components\StiChartPainter.as:70]
at stimulsoft.report.painters.components::StiChartPainter/paint()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\painters\components\StiChartPainter.as:138]
at stimulsoft.report.components::StiComponent/paint()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\components\StiComponent.as:792]
at stimulsoft.report.painters.components::StiContainerPainter/paintComponents()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\painters\components\StiContainerPainter.as:167]
at stimulsoft.report.painters.components::StiPagePainter/paint()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\painters\components\StiPagePainter.as:366]
at stimulsoft.report.components::StiComponent/paint()[D:\.Builder\temp\Stimulsoft_Report\stimulsoft\report\components\StiComponent.as:792]
at stimulsoft.viewer.visual::StiPageVisual/drawPage()[D:\.Builder\temp\Stimulsoft_ViewerFx\stimulsoft\viewer\visual\StiPageVisual.as:202]
at stimulsoft.viewer.visual::StiPageVisual/updateDisplayList()[D:\.Builder\temp\Stimulsoft_ViewerFx\stimulsoft\viewer\visual\StiPageVisual.as:148]
at mx.core::UIComponent/validateDisplayList()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:8989]
at mx.core::Container/validateDisplayList()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\core\Container.as:3298]
at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:736]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:819]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Did i miss something? In the series, i did set the datasource and in the series, i only set value column and value expression.
P.S: values are decimal.

Thanx in advance for your help.

Calculated expression as chart series value

Posted: Thu Sep 29, 2011 8:41 am
by HighAley
Hello.

Unfortunately, the Value expression yet doesn't work in Reports.Fx. We are working on new chart engine and will inform you when it will be available.

Thank you.

Calculated expression as chart series value

Posted: Mon Oct 03, 2011 6:09 am
by HighAley
Hello.

This week our next prerelease build will be available. We added expressions in chart filtering. Please check it when it will be available.

Thank you.

Calculated expression as chart series value

Posted: Tue Oct 04, 2011 10:51 am
by KCRomain
Hello,

I joined this topic to be informed when this feature will be ok

Thx for your help

Calculated expression as chart series value

Posted: Mon Oct 10, 2011 1:20 am
by Vladimir
Hello,

This feature is scheduled to realize with the new charts by the end of this month.

Thank you.

Calculated expression as chart series value

Posted: Wed Nov 02, 2011 5:44 am
by KCRomain
Hello,

This feature is released in Stisoft last version ?

Have good day

Calculated expression as chart series value

Posted: Wed Nov 02, 2011 7:00 am
by HighAley
Hello.
KCRomain wrote:This feature is released in Stisoft last version ?
We are hard working on it. We suppose new chart engine will be in our next release in December.

Thank you.

Calculated expression as chart series value

Posted: Wed Jan 04, 2012 7:10 am
by KCRomain
Hello,

Happy New Year and best wishes ?

I wanted to know if this feature is released ?

Thank you

Calculated expression as chart series value

Posted: Wed Jan 04, 2012 9:15 am
by HighAley
Hello.
KCRomain wrote:Happy New Year and best wishes ?

I wanted to know if this feature is released ?
We are finishing developing new chart engine and start testing it.

Thank you.

Calculated expression as chart series value

Posted: Thu Jan 05, 2012 4:44 am
by KCRomain
Hello,
We are finishing developing new chart engine and start testing it.
This is good news, we have a client who asks when it becomes available ? I know it's always difficult to give a date, but we need to prepare our planning.

Thx, have good day