Index was outside the bounds of the array. (Chart Error)

Stimulsoft Reports.NET discussion
Post Reply
terricide
Posts: 14
Joined: Mon Oct 15, 2012 5:45 pm

Index was outside the bounds of the array. (Chart Error)

Post by terricide »

Hi I am currently trialling the software and I am getting the following error with my chart.

If I create a Full-Stacked Area Chart and bind the series using the argument data column and value data column and there is no data returned I get the following error

----------------------------
[Customer Explanation]


----------------------------
[General Info]

Application: Stimulsoft Reports.Net
Framework: v4.0.30319
Version: Version: 2012.2.1400 from 13 September 2012
MachineName: VERISMIC102
OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
UserName: markr

----------------------------
[Exception Info]
Message: Index was outside the bounds of the array.

Source: Stimulsoft.Report

StackTrace:
at Stimulsoft.Report.Chart.StiAxisAreaGeom.DrawGridLinesHor(StiContext context, RectangleF rect, IStiGridLinesHor gridLinesHor, Boolean isLeftAxis)
at Stimulsoft.Report.Chart.StiAxisAreaGeom.Draw(StiContext context)
at Stimulsoft.Report.Chart.StiCellGeom.DrawGeom(StiContext context)
at Stimulsoft.Report.Chart.StiAxisAreaViewGeom.DrawChildGeoms(StiContext context)
at Stimulsoft.Report.Chart.StiAxisAreaViewGeom.DrawGeom(StiContext context)
at Stimulsoft.Report.Chart.StiCellGeom.DrawChildGeoms(StiContext context)
at Stimulsoft.Report.Painters.StiChartGdiPainter.DrawChart(StiChart chart, Graphics g, RectangleF rect, Boolean useMargins, Boolean useBackground)
at Stimulsoft.Report.Painters.StiChartGdiPainter.PaintChart(StiChart chart, Graphics g, RectangleF rect, Boolean drawBorder, Boolean drawFormatting)
at Stimulsoft.Report.Painters.StiChartGdiPainter.GetImage(StiComponent component, Single& zoom, StiExportFormat format)
at Stimulsoft.Report.Export.StiHtmlTableRender.RenderTable(Boolean renderStyles, String backGroundImageString, Boolean useBookmarks, Boolean exportBookmarksOnly, Hashtable cssStyles)
at Stimulsoft.Report.Export.StiHtmlExportService.ExportHtml(StiReport report, StiHtmlTextWriter writer, StiHtmlExportSettings settings, StiPagesCollection pages)
at Stimulsoft.Report.Export.StiHtmlExportService.ExportHtml(StiReport report, Stream stream, StiHtmlExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, StiExportService exportService, Stream stream, StiExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, Stream stream, StiExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, String file, StiExportSettings settings)
at Stimulsoft.Report.Design.Controls.StiDesignerHtmlPreviewControl.btRefresh_Click(Object sender, EventArgs e)

----------------------------
[Assemblies]
mscorlib, Version = 2.0.0.0
Stimulsoft.Base, Version = 2012.2.1400.0
Stimulsoft.Report, Version = 2012.2.1400.0
Stimulsoft.Report.Design, Version = 2012.2.1400.0
System.Windows.Forms, Version = 2.0.0.0
Artem Cherniavsky
Posts: 13
Joined: Fri Oct 05, 2012 1:31 pm

Re: Index was outside the bounds of the array. (Chart Error)

Post by Artem Cherniavsky »

Hello,

The issue is fixed.
Please check the latest build when it will be available.

Thank you for the bug report.
terricide
Posts: 14
Joined: Mon Oct 15, 2012 5:45 pm

Re: Index was outside the bounds of the array. (Chart Error)

Post by terricide »

Cool thank you. When you say latest build is there somewhere to download that now? Like a nightly build or do you mean for me to check back every so often for the main website to be updated?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Index was outside the bounds of the array. (Chart Error)

Post by HighAley »

Hello.
terricide wrote:Cool thank you. When you say latest build is there somewhere to download that now? Like a nightly build or do you mean for me to check back every so often for the main website to be updated?
You could download trial version the the next prerelease build from here: http://www.stimulsoft.com/en/downloads/reports-net or if you are a registered user from a registered user area.
The changes that you need will be available there this week.

Thank you.
Post Reply