Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net
 SPC Control Chart Tools for .Net
 ChartTable data
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

kitmax

3 Posts

Posted - 08 Nov 2018 :  15:48:14  Show Profile  Reply with Quote
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  Show Profile  Reply with Quote
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.
Go to Top of Page
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07