Compilation error when using StiReport.SaveReportSourceCodeForSilverlight

Stimulsoft Reports.Silverlight discussion
Locked
sabahat
Posts: 83
Joined: Sat Aug 13, 2011 11:20 pm

Compilation error when using StiReport.SaveReportSourceCodeForSilverlight

Post by sabahat »

Hi,
I get several compilation error when the report contains chart component.
I get silverlight code via 'SaveReportSourceCodeForSilverlight' method.

Code: Select all

No overload for method 'StiGridLinesHor' takes '8' arguments
No overload for method 'StiGridLinesHor' takes '8' arguments
No overload for method 'StiGridLinesVert' takes '8' arguments
No overload for method 'StiInterlacingHor' takes '3' arguments
No overload for method 'StiInterlacingVert' takes '3' arguments
No overload for method 'StiAxisLabels' takes '12' arguments
The type or namespace name 'StiDirection' does not exist in the namespace 'Stimulsoft.Report.Chart' (are you missing an assembly reference?)
The type or namespace name 'StiAxisInteraction' does not exist in the namespace 'Stimulsoft.Report.Chart' (are you missing an assembly reference?)
The best overloaded method match for 'Stimulsoft.Report.Chart.StiXBottomAxis.StiXBottomAxis(Stimulsoft.Report.Chart.StiAxisLabels, Stimulsoft.Report.Chart.StiAxisRange, Stimulsoft.Report.Chart.StiAxisTitle, Stimulsoft.Report.Chart.StiAxisTicks, Stimulsoft.Report.Chart.StiArrowStyle, Stimulsoft.Base.Drawing.StiPenStyle, System.Windows.Media.Color, float, bool, float, bool, Stimulsoft.Report.Chart.StiShowXAxis, bool, Stimulsoft.Report.Chart.StiLegendDirection)' has some invalid arguments
Argument '5': cannot convert from 'Stimulsoft.Report.Chart.StiAxisInteraction' to 'Stimulsoft.Report.Chart.StiArrowStyle'
Argument '6': cannot convert from 'Stimulsoft.Report.Chart.StiArrowStyle' to 'Stimulsoft.Base.Drawing.StiPenStyle'
Argument '7': cannot convert from 'Stimulsoft.Base.Drawing.StiPenStyle' to 'System.Windows.Media.Color'
Argument '8': cannot convert from 'System.Windows.Media.Color' to 'float'
Argument '9': cannot convert from 'float' to 'bool'
Argument '10': cannot convert from 'bool' to 'float'
Argument '14': cannot convert from 'bool' to 'Stimulsoft.Report.Chart.StiLegendDirection'
No overload for method 'StiAxisLabels' takes '12' arguments
The type or namespace name 'StiDirection' does not exist in the namespace 'Stimulsoft.Report.Chart' (are you missing an assembly reference?)
The type or namespace name 'StiAxisInteraction' does not exist in the namespace 'Stimulsoft.Report.Chart' (are you missing an assembly reference?)
The best overloaded method match for 'Stimulsoft.Report.Chart.StiXTopAxis.StiXTopAxis(Stimulsoft.Report.Chart.StiAxisLabels, Stimulsoft.Report.Chart.StiAxisRange, Stimulsoft.Report.Chart.StiAxisTitle, Stimulsoft.Report.Chart.StiAxisTicks, Stimulsoft.Report.Chart.StiArrowStyle, Stimulsoft.Base.Drawing.StiPenStyle, System.Windows.Media.Color, float, bool, float, bool, bool, Stimulsoft.Report.Chart.StiLegendDirection)' has some invalid arguments
Argument '5': cannot convert from 'Stimulsoft.Report.Chart.StiAxisInteraction' to 'Stimulsoft.Report.Chart.StiArrowStyle'
Argument '6': cannot convert from 'Stimulsoft.Report.Chart.StiArrowStyle' to 'Stimulsoft.Base.Drawing.StiPenStyle'
Argument '7': cannot convert from 'Stimulsoft.Base.Drawing.StiPenStyle' to 'System.Windows.Media.Color'
Argument '8': cannot convert from 'System.Windows.Media.Color' to 'float'
Argument '9': cannot convert from 'float' to 'bool'
Argument '10': cannot convert from 'bool' to 'float'
Argument '13': cannot convert from 'bool' to 'Stimulsoft.Report.Chart.StiLegendDirection'
No overload for method 'StiAxisLabels' takes '12' arguments
The type or namespace name 'StiDirection' does not exist in the namespace 'Stimulsoft.Report.Chart' (are you missing an assembly reference?)
The type or namespace name 'StiAxisInteraction' does not exist in the namespace 'Stimulsoft.Report.Chart' (are you missing an assembly reference?)
The best overloaded method match for 'Stimulsoft.Report.Chart.StiYLeftAxis.StiYLeftAxis(Stimulsoft.Report.Chart.StiAxisLabels, Stimulsoft.Report.Chart.StiAxisRange, Stimulsoft.Report.Chart.StiAxisTitle, Stimulsoft.Report.Chart.StiAxisTicks, Stimulsoft.Report.Chart.StiArrowStyle, Stimulsoft.Base.Drawing.StiPenStyle, System.Windows.Media.Color, float, bool, float, bool, Stimulsoft.Report.Chart.StiShowYAxis, Stimulsoft.Report.Chart.StiLegendDirection)' has some invalid arguments
Argument '5': cannot convert from 'Stimulsoft.Report.Chart.StiAxisInteraction' to 'Stimulsoft.Report.Chart.StiArrowStyle'
Argument '6': cannot convert from 'Stimulsoft.Report.Chart.StiArrowStyle' to 'Stimulsoft.Base.Drawing.StiPenStyle'
Argument '7': cannot convert from 'Stimulsoft.Base.Drawing.StiPenStyle' to 'System.Windows.Media.Color'
Argument '8': cannot convert from 'System.Windows.Media.Color' to 'float'
Argument '9': cannot convert from 'float' to 'bool'
Argument '10': cannot convert from 'bool' to 'float'
Argument '13': cannot convert from 'bool' to 'Stimulsoft.Report.Chart.StiLegendDirection'
No overload for method 'StiAxisLabels' takes '12' arguments
The type or namespace name 'StiDirection' does not exist in the namespace 'Stimulsoft.Report.Chart' (are you missing an assembly reference?)
The type or namespace name 'StiAxisInteraction' does not exist in the namespace 'Stimulsoft.Report.Chart' (are you missing an assembly reference?)
The best overloaded method match for 'Stimulsoft.Report.Chart.StiYRightAxis.StiYRightAxis(Stimulsoft.Report.Chart.StiAxisLabels, Stimulsoft.Report.Chart.StiAxisRange, Stimulsoft.Report.Chart.StiAxisTitle, Stimulsoft.Report.Chart.StiAxisTicks, Stimulsoft.Report.Chart.StiArrowStyle, Stimulsoft.Base.Drawing.StiPenStyle, System.Windows.Media.Color, float, bool, float, bool, Stimulsoft.Report.Chart.StiLegendDirection)' has some invalid arguments
Argument '5': cannot convert from 'Stimulsoft.Report.Chart.StiAxisInteraction' to 'Stimulsoft.Report.Chart.StiArrowStyle'
Argument '6': cannot convert from 'Stimulsoft.Report.Chart.StiArrowStyle' to 'Stimulsoft.Base.Drawing.StiPenStyle'
Argument '7': cannot convert from 'Stimulsoft.Base.Drawing.StiPenStyle' to 'System.Windows.Media.Color'
Argument '8': cannot convert from 'System.Windows.Media.Color' to 'float'
Argument '9': cannot convert from 'float' to 'bool'
Argument '10': cannot convert from 'bool' to 'float'
Argument '12': cannot convert from 'bool' to 'Stimulsoft.Report.Chart.StiLegendDirection'
'Stimulsoft.Report.Chart.StiClusteredColumnSeries' does not contain a definition for 'DrillDownPageGuid'
No overload for method 'StiChartTitle' takes '9' arguments
The type or namespace name 'IStiSeries' does not exist in the namespace 'Stimulsoft.Report.Chart' (are you missing an assembly reference?)
Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Compilation error when using StiReport.SaveReportSourceCodeForSilverlight

Post by HighAley »

Hello.

This problem occurs because we did refactoring of charts. Now the new engine of charts completed on .NET and Silverlight platforms. All changes will be available in our release. Please, check our release in a few days.

Thank you.
sabahat
Posts: 83
Joined: Sat Aug 13, 2011 11:20 pm

Compilation error when using StiReport.SaveReportSourceCodeForSilverlight

Post by sabahat »

Hi,

Ok, I'll check it.

Thanks.
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Compilation error when using StiReport.SaveReportSourceCodeForSilverlight

Post by Andrew »

Ok!

Thank you and let us know about the result.

Thank you.
sabahat
Posts: 83
Joined: Sat Aug 13, 2011 11:20 pm

Compilation error when using StiReport.SaveReportSourceCodeForSilverlight

Post by sabahat »

Hi,

It works fine now.

Thanks.
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Compilation error when using StiReport.SaveReportSourceCodeForSilverlight

Post by Andrew »

Great!

Have a nice day!
Locked