TonyCoolearth
USA
14 Posts |
Posted - 17 Jan 2014 : 17:32:03
|
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! |
 |
|