Index was outside the bounds of the array. (Chart Error)
Posted: Mon Oct 15, 2012 5:52 pm
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
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