![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | Some LegendEvery values in a ColorGrid give AV depending on the height of the chart | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=3&t=16044 | ||
| Chart Series: | ColorGrid | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | test project | ||
Created attachment 588 [details] test project Having a TColorGridSeries, changing the LegendEvery property ends giving Access Violations and the application ends being unusable. The exact you have to set on the LegendEvery property depends on the chart height. Using the default chart height (250) it crashes when you set LegendEvery to 4. Chart1.View3D:=false; with Chart1.AddSeries(TColorGridSeries) as TColorGridSeries do begin FillSampleValues; UsePalette:=true; UseColorRange:=false; LegendEvery:=4; //Crashes for the default chart Height 250 end; See the project attached.