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
 Display control limits until the end of x-axis
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

quinncurtis

1586 Posts

Posted - 17 Jan 2014 :  17:01:00  Show Profile  Reply with Quote
The source you purchased is three years later than your original software. You must use both the new QCChart2DWPF3.DLL (Rev. 2.3) and the new QCSPCChartWPF3.DLL (Rev. 2.3) together in any project.
Go to Top of Page

TonyCoolearth

USA
14 Posts

Posted - 17 Jan 2014 :  17:32:03  Show Profile  Reply with Quote
Stepping through the source I discovered.

SPCChartBase::InitializeChartSimpleDataset

in our production app
when j = 3 (SPC_LOWER_CONTROL_LIMIT_2)
controllimititem.plotSimpleDataset.YData = {102.0, 102.0, 102.0, 102.0, 0.0, 0.0, 0.0, 0.0 }
when j = 4 (SPC_UPPER_CONTROL_LIMIT_2)
controllimititem.plotSimpleDataset.YData = {129.0, 129.0, 129.0, 129.0, 0.0, 0.0, 0.0, 0.0 }
when j = 5 (SPC_LOWER_CONTROL_LIMIT_1)
controllimititem.plotSimpleDataset.YData = {115.0, 115.0, 115.0, 115.0, 0.0, 0.0, 0.0, 0.0 }

in modified example app
when j = 3 (SPC_LOWER_CONTROL_LIMIT_2)
controllimititem.plotSimpleDataset.YData = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }
when j = 4 (SPC_UPPER_CONTROL_LIMIT_2)
controllimititem.plotSimpleDataset.YData = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }
when j = 4 (SPC_LOWER_CONTROL_LIMIT_1)
controllimititem.plotSimpleDataset.YData = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }


So, adding this line to our production application

TheDataChart.ChartData.SetControlLimitValues(new[]
{
0.0,0.0,0.0,0.0,0.0,0.0
});

causes the spec lines to appear as expected.

Problem fixed! Thanks!
Go to Top of Page

TonyCoolearth

USA
14 Posts

Posted - 17 Jan 2014 :  18:20:44  Show Profile  Reply with Quote
One little wrinkle FYI: This "solution" only works with the source we just bought. Doing it with the old binaries doesn't affect the behavior.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 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