Author |
Topic |
|
kitmax
3 Posts |
Posted - 08 Nov 2018 : 15:48:14
|
I'm updating an old asp.net (vb) application which uses version 2.0.0.3 of QCSPCChartNet.dll to a new c# application using version 3.0.01
I am creating InitSPCTimeVariableControlChart chart, 3 samples per sub group, 25 data points with 15 minute increments.
For the same data in both applications (old and new) the chart plots fine but ChartTable in the new version will only display 20 records (columns), if I increase the datapoints to 30 it still only displays 20, if i reduced to 20 it displays 20, and 10 shows 10,
I have tried various fonts in the ChartTable, Widths for the graph, it doesn't seem to be a issue with size or scaling.
Stepping through the code the ChartData class looks good.
Thank you Kit |
|
quinncurtis
1586 Posts |
Posted - 09 Nov 2018 : 09:59:34
|
Your description sounds feasible, because there is code to limit the number of columns under certain circumstances, mostly related to using the new zoom window which can replace the horizontal scroll bar.
However, we cannot reproduce what you describe using our standard demos.
Start with our TimeVariableControlCharts example and modify the first chart, XBarRChart (or the XBarSigmaChart which is derived from TimeVariableControl Chart) to have 30 columns and data points by setting the numdatapointsinview to 30.
// Number of datapoints in the view int numdatapointsinview = 30; // The time increment between adjacent subgroups int timeincrementminutes = 15;
. .
public void InitializeChart() {
// Initialize the SPCTimeVariableControlChart this.InitSPCEventVariableControlChart(charttype, numsamplespersubgroup, numdatapointsinview);
Post the results. If it displays at 30 columns, see if you can modify it to reproduce your own results.
|
|
|
|
Topic |
|
|
|