Group databand with chart
-
- Posts: 24
- Joined: Thu Feb 14, 2019 11:57 am
Group databand with chart
I have a table
Nome Nota ContNota
Teste1 5 1
Teste1 6 1
Teste1 7 1
Teste 2 6 1
Teste 2 7 2
When I use "GroupHeaderBand", the values are ok, and my conditional is working.
But my chart are using all databand.
What can I do in this case?
Nome Nota ContNota
Teste1 5 1
Teste1 6 1
Teste1 7 1
Teste 2 6 1
Teste 2 7 2
When I use "GroupHeaderBand", the values are ok, and my conditional is working.
But my chart are using all databand.
What can I do in this case?
- Attachments
-
- VisualizationChart.PNG (20.54 KiB) Viewed 3690 times
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Group databand with chart
Hello,
GoupHeaderBand is not supported for Chart component, you should use master-detail construction instead grouping in that case:
https://demo.stimulsoft.com/#Net/ChartOnDataband
Thank you.
GoupHeaderBand is not supported for Chart component, you should use master-detail construction instead grouping in that case:
https://demo.stimulsoft.com/#Net/ChartOnDataband
Thank you.
-
- Posts: 24
- Joined: Thu Feb 14, 2019 11:57 am
Re: Group databand with chart
I'm using master, but when I used a Pie chart, I received this error:
em System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
em Stimulsoft.Report.Chart.StiPieSeriesCoreXF.RenderSeries(StiContext context, RectangleF rect, StiAreaGeom geom, IStiSeries[] seriesArray) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Chart\Core\Series\Pie\StiPieSeriesCoreXF.cs:linha 610
em Stimulsoft.Report.Chart.StiPieAreaCoreXF.RenderSeries(StiContext context, RectangleF rect, StiAreaGeom geom, List`1 seriesCollection) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Chart\Core\Area\Pie\StiPieAreaCoreXF.cs:linha 85
em Stimulsoft.Report.Chart.StiPieAreaCoreXF.Render(StiContext context, RectangleF rect) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Chart\Core\Area\Pie\StiPieAreaCoreXF.cs:linha 57
em Stimulsoft.Report.Chart.StiChartCoreXF.Render(StiContext context, RectangleF rect, Boolean useMargins) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Chart\Core\StiChartCoreXF.cs:linha 140
em Stimulsoft.Report.Export.StiChartSvgHelper.WriteChart(XmlTextWriter writer, StiSvgData svgData, Single zoom, Boolean needAnimation) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Export\Services\Helpers\StiChartSvgHelper.cs:linha 72
em Stimulsoft.Report.Export.StiHtmlExportService.PrepareChartData(StiHtmlTextWriter writer, StiChart chart, Double width, Double height) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Export\Services\Htmls\StiHtmlExportService.cs:linha 2147
em Stimulsoft.Report.Export.StiHtmlTableRender.RenderTable(Boolean renderStyles, String backGroundImageString, Boolean useBookmarks, Boolean exportBookmarksOnly, Hashtable cssStyles, Boolean watermarkShowBehind) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Export\Tools\StiHtmlTableRender.cs:linha 1643
em Stimulsoft.Report.Export.StiHtmlExportService.ExportHtml(StiReport report, StiHtmlTextWriter writer, StiHtmlExportSettings settings, StiPagesCollection pages) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Export\Services\Htmls\StiHtmlExportService.cs:linha 3440
em Stimulsoft.Report.Export.StiHtmlExportService.ExportHtml(StiReport report, Stream stream, StiHtmlExportSettings settings) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Export\Services\Htmls\StiHtmlExportService.cs:linha 2554
em Stimulsoft.Report.Web.StiReportHelper.GetReportPage(StiReport report, StiHtmlExportService service, Int32 pageIndex, StiRequestParams requestParams) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Web\Helpers\StiReportHelper.cs:linha 809
em Stimulsoft.Report.Web.StiReportHelper.GetPagesArray(StiReport report, StiRequestParams requestParams) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Web\Helpers\StiReportHelper.cs:linha 852
em Stimulsoft.Report.Web.StiReportHelper.ViewerResult(StiRequestParams requestParams, StiReport report) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Web\Helpers\StiReportHelper.cs:linha 1012
em Stimulsoft.Report.Mvc.StiMvcViewer.GetReportResult(StiRequestParams requestParams, StiReport report) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Mvc\Viewer\StiMvcViewer.Actions.cs:linha 66
em Stimulsoft.Report.Mvc.StiMvcViewer.GetReportResult(StiReport report) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Mvc\Viewer\StiMvcViewer.Actions.cs:linha 54
em Cofco.Controllers.ViewerReportController.GetReport(Nullable`1 preliminarIncidenteId, Nullable`1 investigacaoIncidenteId, String reports) na C:\Projeto\COFCO\COFCO SSMA Oficial\SST-SP3_H4_HousekeepingPDF\Cofco\Controllers\ViewerReportController.cs:linha 198
But when I used "Column" its Ok
What can I do?
em System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
em Stimulsoft.Report.Chart.StiPieSeriesCoreXF.RenderSeries(StiContext context, RectangleF rect, StiAreaGeom geom, IStiSeries[] seriesArray) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Chart\Core\Series\Pie\StiPieSeriesCoreXF.cs:linha 610
em Stimulsoft.Report.Chart.StiPieAreaCoreXF.RenderSeries(StiContext context, RectangleF rect, StiAreaGeom geom, List`1 seriesCollection) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Chart\Core\Area\Pie\StiPieAreaCoreXF.cs:linha 85
em Stimulsoft.Report.Chart.StiPieAreaCoreXF.Render(StiContext context, RectangleF rect) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Chart\Core\Area\Pie\StiPieAreaCoreXF.cs:linha 57
em Stimulsoft.Report.Chart.StiChartCoreXF.Render(StiContext context, RectangleF rect, Boolean useMargins) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Chart\Core\StiChartCoreXF.cs:linha 140
em Stimulsoft.Report.Export.StiChartSvgHelper.WriteChart(XmlTextWriter writer, StiSvgData svgData, Single zoom, Boolean needAnimation) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Export\Services\Helpers\StiChartSvgHelper.cs:linha 72
em Stimulsoft.Report.Export.StiHtmlExportService.PrepareChartData(StiHtmlTextWriter writer, StiChart chart, Double width, Double height) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Export\Services\Htmls\StiHtmlExportService.cs:linha 2147
em Stimulsoft.Report.Export.StiHtmlTableRender.RenderTable(Boolean renderStyles, String backGroundImageString, Boolean useBookmarks, Boolean exportBookmarksOnly, Hashtable cssStyles, Boolean watermarkShowBehind) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Export\Tools\StiHtmlTableRender.cs:linha 1643
em Stimulsoft.Report.Export.StiHtmlExportService.ExportHtml(StiReport report, StiHtmlTextWriter writer, StiHtmlExportSettings settings, StiPagesCollection pages) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Export\Services\Htmls\StiHtmlExportService.cs:linha 3440
em Stimulsoft.Report.Export.StiHtmlExportService.ExportHtml(StiReport report, Stream stream, StiHtmlExportSettings settings) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Export\Services\Htmls\StiHtmlExportService.cs:linha 2554
em Stimulsoft.Report.Web.StiReportHelper.GetReportPage(StiReport report, StiHtmlExportService service, Int32 pageIndex, StiRequestParams requestParams) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Web\Helpers\StiReportHelper.cs:linha 809
em Stimulsoft.Report.Web.StiReportHelper.GetPagesArray(StiReport report, StiRequestParams requestParams) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Web\Helpers\StiReportHelper.cs:linha 852
em Stimulsoft.Report.Web.StiReportHelper.ViewerResult(StiRequestParams requestParams, StiReport report) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Web\Helpers\StiReportHelper.cs:linha 1012
em Stimulsoft.Report.Mvc.StiMvcViewer.GetReportResult(StiRequestParams requestParams, StiReport report) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Mvc\Viewer\StiMvcViewer.Actions.cs:linha 66
em Stimulsoft.Report.Mvc.StiMvcViewer.GetReportResult(StiReport report) na D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report.Mvc\Viewer\StiMvcViewer.Actions.cs:linha 54
em Cofco.Controllers.ViewerReportController.GetReport(Nullable`1 preliminarIncidenteId, Nullable`1 investigacaoIncidenteId, String reports) na C:\Projeto\COFCO\COFCO SSMA Oficial\SST-SP3_H4_HousekeepingPDF\Cofco\Controllers\ViewerReportController.cs:linha 198
But when I used "Column" its Ok
What can I do?
-
- Posts: 24
- Joined: Thu Feb 14, 2019 11:57 am
Re: Group databand with chart
Now its done, but I need turn visible in legend value 0 (zero).
Example:
Nota | Count
5 1
6 1
7 1
8 0
NA 0
8 and NA doesn't visible. how can I do?
Example:
Nota | Count
5 1
6 1
7 1
8 0
NA 0
8 and NA doesn't visible. how can I do?
Re: Group databand with chart
Hello.
Unfortunately, it's impossible to do right now.
But we will add the Show Zero property to the Pie Series in our next build.
Thank you.
Ticket reference: #8052
Unfortunately, it's impossible to do right now.
But we will add the Show Zero property to the Pie Series in our next build.
Thank you.
Ticket reference: #8052
Re: Group databand with chart
Hello.
We have added the Show Zero property.
This property will be available in our next build.
The build should be available this week.
Thank you.
We have added the Show Zero property.
This property will be available in our next build.
The build should be available this week.
Thank you.
-
- Posts: 24
- Joined: Thu Feb 14, 2019 11:57 am
Re: Group databand with chart
Hello.
We are always glad to help you.
Let us know if you need any help.
Thank you.
We are always glad to help you.
Let us know if you need any help.
Thank you.