Calculated expression as chart series value

Stimulsoft Reports.Flex discussion
Elisée
Posts: 1
Joined: Thu Sep 29, 2011 5:09 am
Location: France

Calculated expression as chart series value

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Calculated expression as chart series value

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Calculated expression as chart series value

Post 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.
KCRomain
Posts: 23
Joined: Fri Aug 05, 2011 11:34 am
Location: Montpellier

Calculated expression as chart series value

Post by KCRomain »

Hello,

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

Thx for your help
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Calculated expression as chart series value

Post by Vladimir »

Hello,

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

Thank you.
KCRomain
Posts: 23
Joined: Fri Aug 05, 2011 11:34 am
Location: Montpellier

Calculated expression as chart series value

Post by KCRomain »

Hello,

This feature is released in Stisoft last version ?

Have good day
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Calculated expression as chart series value

Post 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.
KCRomain
Posts: 23
Joined: Fri Aug 05, 2011 11:34 am
Location: Montpellier

Calculated expression as chart series value

Post by KCRomain »

Hello,

Happy New Year and best wishes ?

I wanted to know if this feature is released ?

Thank you
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Calculated expression as chart series value

Post 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.
KCRomain
Posts: 23
Joined: Fri Aug 05, 2011 11:34 am
Location: Montpellier

Calculated expression as chart series value

Post 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
Locked