Hello,
When viewing a report that contains graph, it presents the following error:
If I use this option
Appearance.chartRenderType = Stimulsoft.Viewer.StiChartRenderType.Vector;
The graph appears in the report.
What is the difference between Vector and AnimatedVector?
thank you
Error while printing chart
Error while printing chart
- Attachments
-
- rptFaturamentoCategoria.mrt
- (15.46 KiB) Downloaded 126 times
-
- dados.json
- (16.6 KiB) Downloaded 135 times
Re: Error while printing chart
Hello.
Please, check the name of the property.
The appearance should start with the small letter.
Thank you.
Please, check the name of the property.
The appearance should start with the small letter.
Thank you.
Re: Error while printing chart
Hello
The question is not the syntax being incorrect, "Appearance" was written this way due to automatic correction.
The issue is that when I use the property this way it has error:
appearance.chartRenderType = Stimulsoft.Viewer.StiChartRenderType.AnimatedVector;
If I use it this way it works
appearance.chartRenderType = Stimulsoft.Viewer.StiChartRenderType.Vector;
I would like a correction because I want to use the animation in the prints.
Build 2016.3.7
The question is not the syntax being incorrect, "Appearance" was written this way due to automatic correction.
The issue is that when I use the property this way it has error:
appearance.chartRenderType = Stimulsoft.Viewer.StiChartRenderType.AnimatedVector;
If I use it this way it works
appearance.chartRenderType = Stimulsoft.Viewer.StiChartRenderType.Vector;
I would like a correction because I want to use the animation in the prints.
Build 2016.3.7
Re: Error while printing chart
Hello,
We couldn't reproduce this bug.
Could you explain your issue in more details? Which browser are you use?
Thank you.
We couldn't reproduce this bug.
Could you explain your issue in more details? Which browser are you use?
Thank you.
Re: Error while printing chart
Hello,
I was able to identify the problem
In my project has a code changing "Array.prototype".
Any change I make in "Array.prototype" is "Array.prototype.x = function", "Array.prototype.Y", any modification in "Array.prototype" starts to give error, commenting this code back to work .
I can not say what interferes with Stimulsoft.Reports.js, but solved;
I was able to identify the problem
In my project has a code changing "Array.prototype".
Any change I make in "Array.prototype" is "Array.prototype.x = function", "Array.prototype.Y", any modification in "Array.prototype" starts to give error, commenting this code back to work .
I can not say what interferes with Stimulsoft.Reports.js, but solved;
Re: Error while printing chart
Hello,
May be you have added some additional methods to the Array class and is not set it as enumerable: false?
Object.defineProperty(Array.prototype, 'indexOf', { enumerable: false })
We will add a new method in next prerelease build - Array.disableAllEnumerable(). You can call this new method after all declarations in the Array class. This method will fix possible troubles with Array extensions and our code.
Please contact us if you need anything help.
Thank you.
May be you have added some additional methods to the Array class and is not set it as enumerable: false?
Object.defineProperty(Array.prototype, 'indexOf', { enumerable: false })
We will add a new method in next prerelease build - Array.disableAllEnumerable(). You can call this new method after all declarations in the Array class. This method will fix possible troubles with Array extensions and our code.
Please contact us if you need anything help.
Thank you.