Contour Chart doesn't work in TeeChart!

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
GFoundries
Newbie
Newbie
Posts: 14
Joined: Wed May 21, 2008 12:00 am

Contour Chart doesn't work in TeeChart!

Post by GFoundries » Fri Jun 18, 2010 8:56 pm

Hello,

I am trying to use the contour chart with the following set of values for X, Y and Z. But I don't see any values plotted for this. The chart is empty. This same data gives me the correct output when using other charting API's!!
I also tried using some other datasets, but they don't seem to work as well.

Could you please verify and let me know if this is an issue with Teechart ?

Appreciating an early response.

Thanks,
Gunjan

Please see the screen shot for the desired output.



double[] X = {-2.54,-2.6232,-2.648,-2.6396,-2.6798,-2.6162,-2.6292,-2.622,-2.6556,-2.626,-2.648,-2.5866,-2.669,-2.6088,-2.6788,-2.6266,-2.6486,-2.5492,-2.6232,-2.6428,-2.6714,-2.6746,-2.622,-2.6738,-2.4896,-2.5312,-2.6498,-2.688,-2.6756,-2.6724,-2.6876,-2.6482,-2.6884,-2.6584,-2.6888,-2.6528,-2.7158,-2.74,-2.6836,-2.691,-2.6898,-2.699,-2.7098,-2.6752,-2.6664,-2.6736,-2.6572,-2.6528,-2.6824,-2.6832,-2.6716,-2.6748,-2.6866,-2.7028,-2.7108,-2.7082,-2.7274,-2.7888,-2.7356,-2.6956,-2.7418,-2.7568,-2.7072,-2.7432,-2.7292,-2.7054,-2.699,-2.7466,-2.7136,-2.7414,-2.7136,-2.7372,-2.744,-2.7362,-2.7166,-2.7536,-2.7054,-2.7764,-2.7772,-2.7766,-2.764,-2.7746,-2.7994,-2.8312,-2.787,-2.8256,-2.7822,-2.8484,-2.7048,-2.7964,-2.731,-2.745,-2.7074,-2.7264,-2.726,-2.6902,-2.6946,-2.7464,-2.728,-2.7036,-2.667,-2.4768,-2.4272,-2.5364,-2.45,-2.5124,-2.545,-2.482,-2.614,-2.455,-2.5334,-2.5064,-2.535,-2.482,-2.5594,-2.4422,-2.5578,-2.4578,-2.532,-2.4302,-2.5566,-2.4764,-2.5248,-2.4812,-2.5336,-2.4474,-2.615,-2.5922,-2.6416,-2.6792,-2.732,-2.6978,-2.6922,-2.7348,-2.6746,-2.6952,-2.6666,-2.6806,-2.726,-2.6814,-2.6762,-2.6792,-2.7296,-2.6774,-2.7036,-2.6868,-2.682,-2.6844,-2.7192,-2.7056,-2.6452,-2.431,-2.4964,-2.5084,-2.5202,-2.493,-2.4898,-2.485,-2.5034,-2.467,-2.5172,-2.5464,-2.54,-2.5166,-2.5306,-2.5542,-2.531,-2.5152,-2.5372,-2.512,-2.498,-2.5264,-2.4808,-2.4832,-2.505,-2.5164,-2.476,-2.5094,-2.5658,-2.522,-2.496,-2.5406,-2.5388,-2.593,-2.577,-2.598,-2.6146,-2.6016,-2.5736,-2.5778,-2.5636,-2.582,-2.564,-2.5284,-2.579,-2.5482,-2.5566,-2.5694,-2.611,-2.5848,-2.5648,-2.5384,-2.556,-2.5778,-2.557,-2.4902,-2.445,-2.4692,-2.485,-2.5382,-2.5084,-2.5142,-2.5384,-2.5458,-2.5308,-2.5454,-2.5482,-2.5254,-2.5064,-2.484,-2.4862,-2.506,-2.4836,-2.465,-2.506,-2.472,-2.46,-2.4586,-2.4846,-2.4824,-2.4714,-2.518,-2.4968,-2.5228,-2.5624,-2.5608,-2.5686,-2.594,-2.5434,-2.5664,-2.572,-2.5766,-2.5668,-2.6092,-2.5798,-2.5722,-2.6472,-2.588,-2.6374,-2.62,-2.626,-2.5566,-2.6092,-2.5534,-2.537,-2.3736,-2.3908,-2.4702,-2.4256,-2.4786,-2.459,-2.49,-2.4734,-2.4276,-2.4056,-2.417,-2.5334,-2.4826,-2.422,-2.5236,-2.572,-2.6154,-2.5468,-2.5828,-2.5406,-2.498,-2.5246,-2.5246,-2.5488,-2.513,-2.5598,-2.527,-2.5488,-2.5256,-2.5598,-2.5232,-2.5392,-2.5848,-2.5446,-2.5142,-2.5388,-2.5328,-2.5582,-2.596,-2.6288,-2.568,-2.5876,-2.578,-2.6274,-2.5948,-2.6206,-2.5926,-2.5778,-2.5936,-2.5598,-2.578,-2.5632,-2.5704,-2.5308,-2.593,-2.5842,-2.542,-2.5604,-2.549,-2.5256,-2.4416,-2.4282,-2.473,-2.4274,-2.4198,-2.4724,-2.4064,-2.4686,-2.5002,-2.4614,-2.5002,-2.4682,-2.5114,-2.4954,-2.539,-2.469,-2.5148,-2.529,-2.5038,-2.4706,-2.498,-2.4834,-2.4654,-2.488,-2.4982,-2.5518,-2.535,-2.57,-2.5128,-2.6076,-2.5572,-2.6192,-2.5646,-2.6268,-2.6022,-2.6656,-2.5876,-2.6568,-2.6498,-2.5964,-2.6324,-2.559,-2.6588,-2.5822,-2.6752,-2.5608,-2.6578,-2.5688,-2.6704,-2.588,-2.5116,-2.5452,-2.5006,-2.5194,-2.542,-2.5848,-2.6232,-2.5632,-2.5916,-2.6048,-2.591,-2.6312,-2.592,-2.5554,-2.5676,-2.5888,-2.6062,-2.5508,-2.5828,-2.5454,-2.5666,-2.5826,-2.5372,-2.5362,-2.587,-2.725,-2.6634,-2.679,-2.5854,-2.6906,-2.679,-2.665,-2.6558,-2.7508,-2.6338,-2.6,-2.5998,-2.5866,-2.572,-2.5778,-2.6108,-2.636,-2.5398,-2.5348,-2.6716,-2.635,-2.627,-2.6152,-2.6608,-2.5886,-2.6752,-2.5868,-2.6806,-2.6004,-2.6086,-2.63,-2.6112,-2.6844,-2.6044,-2.652,-2.5658,-2.6188,-2.5766,-2.6034,-2.5878,-2.5022,-2.5244,-2.497,-2.5036,-2.5298,-2.5334,-2.566,-2.5708,-2.542,-2.6096,-2.5324,-2.5518,-2.5842,-2.6184,-2.5704,-2.5492,-2.5822,-2.6078,-2.5052,-2.5484,-2.5014,-2.556,-2.5854,-2.5124,-2.5156,-2.6028,-2.6358,-2.6902,-2.6354,-2.649,-2.6352,-2.6438,-2.6324,-2.4574,-2.5476,-2.4846,-2.5124,-2.5442,-2.5964,-2.5394,-2.555,-2.5422,-2.5466,-2.6078,-2.5358,-2.5648,-2.5684,-2.505,-2.548,-2.5794,-2.594,-2.5982,-2.54,-2.5534,-2.5412,-2.5686,-2.5378,-2.5474,-2.4758,-2.5276,-2.4996,-2.4732,-2.4588,-2.5198,-2.5084,-2.5114,-2.5658,-2.528,-2.5074,-2.5348,-2.588,-2.4992,-2.5508,-2.4702,-2.507,-2.5424,-2.5398,-2.544,-2.5264,-2.557,-2.5444,-2.533,-2.5536,-2.5796,-2.6206,-2.6498,-2.7078,-2.6346,-2.64,-2.6758,-2.6558,-2.6592,-2.6198,-2.617,-2.6316,-2.6,-2.644,-2.6442,-2.6622,-2.5796,-2.633,-2.6,-2.6238,-2.6216,-2.626,-2.6304,-2.6058,-2.6208,-2.5268,-2.5162,-2.5536,-2.542,-2.5868,-2.5588,-2.5534,-2.5494,-2.5752,-2.5938,-2.5624,-2.611,-2.6028,-2.5888,-2.6152,-2.5686,-2.588,-2.5552,-2.5818,-2.5944,-2.6128,-2.5764,-2.5994,-2.6064,-2.596,-2.4582,-2.4812,-2.4788,-2.4532,-2.4644,-2.469,-2.463,-2.4966,-2.508,-2.5158,-2.5154,-2.4872,-2.5428,-2.538,-2.4756,-2.4876,-2.506,-2.435,-2.4542,-2.4014,-2.4212,-2.493,-2.4406,-2.4812,-2.4048,-2.485,-2.4558,-2.4736,-2.4512,-2.4624,-2.4696,-2.4702,-2.4172,-2.507,-2.4368,-2.4602,-2.5214,-2.5192,-2.4808,-2.487,-2.4926,-2.5212,-2.48,-2.5298,-2.498,-2.473,-2.4958,-2.4752,-2.5108,-2.497,-2.5174,-2.5602,-2.5964,-2.5984,-2.535,-2.5752,-2.6092,-2.6216,-2.6026,-2.582,-2.6156,-2.5928,-2.6282,-2.591,-2.5934,-2.6276,-2.6704,-2.6508,-2.6814,-2.5918,-2.5906,-2.5776,-2.6104,-2.488,-2.5412,-2.5122,-2.5408,-2.5118,-2.528,-2.4978,-2.553,-2.508,-2.5932,-2.601,-2.551,-2.6122,-2.58,-2.5954,-2.546,-2.5508,-2.5484,-2.5668,-2.5452,-2.5638,-2.5644,-2.5614,-2.55,-2.5568,-2.5806,-2.5558,-2.5746,-2.6346,-2.6524,-2.6178,-2.638,-2.6226,-2.5902,-2.6446,-2.6782,-2.6278,-2.6598,-2.6456,-2.6068,-2.6368,-2.6622,-2.6426,-2.6326,-2.647,-2.636,-2.6606,-2.6548,-2.6078,-2.5754,-2.532,-2.5358,-2.5036,-2.5426,-2.5452,-2.5124,-2.53,-2.5224,-2.553,-2.534,-2.508,-2.5418,-2.5682,-2.5734,-2.5454,-2.5484,-2.5556,-2.615,-2.5842,-2.5632,-2.563,-2.5384,-2.5364,-2.5402,-2.597,-2.5822,-2.5586,-2.594,-2.634,-2.573,-2.5918,-2.6292,-2.6162,-2.6142,-2.5958,-2.5826,-2.6326,-2.6092,-2.6146,-2.6266,-2.6008,-2.561,-2.6218,-2.6556,-2.6058,-2.603,-2.6228,-2.6602,-2.654,-2.6302,-2.5728,-2.6086,-2.6064,-2.6098,-2.6116,-2.6148,-2.6332,-2.6256,-2.6036,-2.5922,-2.6158,-2.643,-2.6668,-2.6218,-2.5562,-2.589,-2.5584,-2.5962,-2.5514,-2.584,-2.5416,-2.56,-2.5518,-2.6106,-2.549,-2.4486,-2.5152,-2.4936,-2.5032,-2.5874,-2.451,-2.5496,-2.5376,-2.5408,-2.4946,-2.5264,-2.535,-2.5524,-2.5362,-2.5366,-2.5542,-2.5856,-2.5144,-2.5422,-2.542,-2.5438,-2.4708,-2.4646,-2.4718,-2.4862,-2.4452,-2.4158,-2.4274,-2.4498,-2.4778,-2.4548,-2.4746,-2.4326,-2.4634,-2.4538,-2.4588,-2.4472,-2.4442,-2.4814,-2.5112,-2.4682,-2.4492,-2.438,-2.4626,-2.432,-2.4824,-2.4362,-2.4996,-2.4746,-2.4274,-2.3902,-2.4132,-2.4486,-2.4428,-2.4792,-2.468,-2.4684,-2.5026,-2.4834,-2.4978,-2.5058,-2.5068,-2.4866,-2.439,-2.488,-2.478,-2.484,-2.4924,-2.4792,-2.554,-2.5238,-2.5192,-2.5024,-2.5622,-2.5546,-2.5816,-2.5422,-2.5668};


double[] Y = {104.82,105.44,106.18,105.44,105.92,104.82,104.78,105.48,105.48,105.12,105.4,104.92,105.58,105.02,104.76,105.24,105.62,105.36,105.1,106.38,105.54,105.72,
105.56,105.48,107.48,107.5,102.5,103.66,103.76,103.6,103.44,103.24,102.78,102.48,102.48,103.12,102.76,102.44,102.88,102.76,103.14,102.96,102.88,102.6,102.82,
102.26,102.82,102.5,102.52,102.46,103.76,108.08,108.08,107.96,107.88,107.32,107.76,108.02,107.76,107.42,107.16,107.92,107.28,107.92,108.42,108.14,108.72,
108.54,108.2,107.68,108.12,107.6,108.38,108.06,107.48,107.58,105.04,104.84,104.88,104.72,104.74,105.28,104.38,104.68,104.68,104.5,104.42,104.52,104.16,
104.62,104.56,104.66,104.96,104.84,104.58,104.74,105.14,104.92,104.84,104.68,104.78,105.4,105.52,105,105.4,105.56,105.02,105.8,105.32,105.9,105.2,105.58,
104.86,105.48,104.88,105.66,105.3,106.56,105.52,106.06,105.76,105.92,105.86,105.94,105.12,105.66,107.16,106.64,106.76,107.02,107.44,107.16,106.44,
107.44,106.94,106.74,107.18,106.62,106.48,106.1,106.42,106.34,106.92,106.88,107.18,106.84,107.6,106.94,106.62,106.9,107.14,107.86,107.42,106.84,107.02,
108,107.36,106.9,107.7,107.08,106.84,107.16,107.06,106.94,107.8,106.86,107.14,107.1,106.88,107.62,107.56,107.3,107.28,107.8,107.1,107.3,103.94,104.42,
104.32,104.22,104.52,104.62,104.44,104.82,104.8,104.34,104.46,104.66,104.14,104.42,104.44,104.12,104.66,104.88,103.9,104.48,104.42,104.48,104.52,
104.62,107.58,107.66,107.46,107.24,107.94,107.38,107.9,107.66,107.74,106.9,107.74,108.08,107.38,107.36,107.64,107.16,107.18,107.82,107.44,107.64,
107.84,108.04,107.84,108.52,107.78,107.68,108,107.9,107.1,108.2,105.8,106.1,106.52,106.94,106.92,106.06,106.36,105.66,105.96,106.46,106.62,106.36,
106.7,106.9,106.7,106.46,106.62,106.08,106.6,106.16,105.82,106.7,105.8,105.72,106.14,107.3,108.16,107.44,107.86,108.22,108,108.8,107.96,107.4,108.16,
107.5,107.1,108.08,107.94,107.44,106.86,107.84,108.18,107.4,107.26,108.34,108.76,108.42,109.8,109.58,109.14,109.62,109.12,109.52,109.32,109.26,
108.8,109.14,109.04,108.66,107.12,106.88,107.82,107.78,107.58,107.76,106.96,107.4,107.64,107.56,107.54,107.7,107.42,106.92,107.56,107.86,107.32,
106.56,107.22,106.72,107.58,108.3,107.94,107.4,107.76,106.44,
106.06,106.34,105.94,106.56,106.02,105.92,106.26,105.56,106.04,106.04,105.52,106.26,105.92,105.76,106.02,106.9,106.54,106.58,106.76,106.7,106.5,106.62,
106.58,106.04,106.86,107.42,106.2,107.34,106.92,107.32,106.88,107.12,106.36,106.92,106.78,106.66,106.52,106.68,106.58,106.32,106.74,106.24,107.4,106.54,
106.82,106.9,107.58,106.58,107.18,109.1,108.72,108.2,108.34,109.14,108.48,109.02,108.5,108.74,108.2,108.42,108.44,108.82,108.18,108.02,108.32,107.9,108.96,
109.38,109.82,109.52,109.2,109,108.98,108.92,107.24,107.04,106.82,107.86,107.06,107.68,107.34,107.3,107.06,106.7,106.8,107.08,106.76,106.72,106.34,104.24,
104.14,104.5,104.42,104.56,104.3,104.14,104.94,104,104.24,104.44,104.28,104.1,104.8,104.32,104.16,104.58,103.7,104.58,104.12,104.04,104.06,104.9,103.8,
104.38,106.28,106.64,107.2,106.26,107.22,106.64,105.84,106.92,106.48,105.98,107.08,106.68,106.84,106.06,105.94,106.84,105.56,105.68,106.7,106.38,106.02,
106.06,106.38,106.54,107.54,107.94,107.92,107.62,107.66,108,107.32,106.68,107.86,109.22,109.3,109,108.64,109.1,108.64,108.78,108.88,108.4,108.98,108.54,
108.46,108.52,108.06,108.82,108.34,108.46,108.46,108.48,109.78,109.7,109.32,109.14,108.92,109.02,108.46,108.78,107.54,108.58,108.74,108.16,108.74,108.88,
108.08,108.46,108.54,107.9,108.22,108.72,107.86,108,108.24,108.1,108.76,109.32,109.14,108.74,109.3,108.52,108.64,107.14,108.04,107.2,106.82,106.7,107.56,
107.48,107.14,107.48,106.46,106.84,107.18,107.26,106.74,107.18,107.12,106.96,106.66,106.7,106.22,107.04,106.48,105.92,106.5,107.16,108.16,108.38,108.78,
108.32,108.16,108.88,108.48,108.16,108.92,108,108,108.32,108.08,108.22,108.38,107.94,107.96,109.04,108.24,108.18,108.92,108.58,108.4,109.1,108.3,108.86,
109.72,109.3,109.34,109.34,109.52,109.82,109.48,108.94,109.02,109.44,108.96,108.66,108.94,108.86,109.54,108.92,107.6,107.14,107.34,106.6,107.5,107.54,
106.92,107.14,107.42,108.16,108.92,108.6,108.22,108.52,108.46,108.36,108.82,108.4,108.14,108.12,108.58,108.56,108.9,108.52,108.04,108.36,108.76,
109.08,109.64,108.92,108.64,109.12,108.68,108.64,108.52,107.76,107.84,107.62,107.36,107.86,108,107.86,107,107.7,107.54,107.86,107.6,107.58,108.4,
108.2,108.38,108.74,108.32,108.36,108.18,108.14,107.72,106.94,106.58,106.7,107.22,107.14,107.2,106.7,106.32,107.14,106.16,107.28,106.98,107.32,106.44,
106.82,107,107.22,106.96,106.48,106.26,106.3,107.44,107.42,108.22,106.96,107.5,107.64,107.38,107.08,107,106.52,106.08,107.88,107.7,106.96,107.64,
107.26,107.28,107.34,107.8,107.14,107.56,107.14,106.8,107.26,107.42,107.32,107.94,108.06,106.54,106.12,106.62,107.12,107.12,106.76,106.94,106.86,
106.62,106.78,106.76,106.64,106.52,106.16,106.26,106.36,106.7,106.66,107.16,106.92,106.84,106.98,106.74,106.9,106.72,106.02,106.02,105.34,105.44,
105.8,105.84,106,105.28,105.78,106.24,105.7,105.26,105.88,105.1,105.54,105.5,105.48,106.58,106.56,106.56,106.78,106.5,106.28,106.56,106.08,108.28,
108.4,108.56,108.28,108.24,108.46,107.96,108.3,107.88,107.58,108,107.9,107.56,107.58,107.4,108.26,108.2,108.7,108.66,108.36,108.54,108.48,108,108.36,
108.26,110.06,109.74,109.32,110.22,109.8,109.74,109.94,109.76,109.4,109.18,109.54,109.48,109.32,109.44,109.32,109.34,110.96,111.24,110.5,110.86,
110.86,110.42,110.58,110.28,110.04,105.28,105.88,105.42,105.62,105.92,105.94,105.72,105.54,106.06,105.84,105.62,105.52,106.5,105.78,105.34,106.08,
105.56,105.22,105.58,105.56,105.46,105.7,105.52,105.92,105.4,105.74,106.16,105.52,105.78,106.14,106.38,105.66,105.8,106.14,105.68,105.72,106.08,
105.54,106.22,106.16,107.06,108.22,107.46,108.2,108.16,108.12,109.02,108.6,107.8,108.46,108.18,108.3,108.6};


double[] Z = { 3.56311548791406,2.87376902417189,2.78424350940018,2.5604297224709,2.45299910474485,3.46463742166517,2.88272157564906,
3.22291853178156,3.12444046553268,3.32139659803044,3.49149507609669,3.96598030438675,3.31486776268763,3.18084345961401,
3.36847748391708,3.08255897069335,3.36847748391708,3.60078627591137,3.63652609006433,2.46604717655468,2.03716940671909,
2.20693352394568,3.18084345961401,2.70729092208721,4.4136078782453,4.61951656222023,3.31244404655327,2.72157564905998,
2.55147717099373,2.64100268576544,2.84691136974038,3.2408236347359,2.73948075201432,2.94538943598926,3.07072515666965,
3.19606087735004,3.43777976723366,2.30080572963295,2.64100268576544,2.92748433303491,3.21396598030439,2.69471799462847,
3.41092211280215,3.83169203222919,2.86481647269472,3.33930170098478,2.91853178155774,3.91226499552372,2.69471799462847,
2.85586392121755,2.66786034019696,2.27394807520143,2.408236347359,2.6230975828111,2.03222918531782,2.16651745747538,
2.29185317815577,2.43509400179051,1.92479856759176,2.39033124440466,2.42614145031334,2.04118173679499,2.15756490599821,
2.46195165622202,1.96060877350045,2.26499552372426,1.86213070725157,2.48880931065354,2.04118173679499,2.21128021486124,
2.2829006266786,2.21128021486124,2.53357206803939,2.2829006266786,2.67681289167413,2.39033124440466,2.36347358997314,
2.0053715308863,1.80841539838854,2.10384959713518,2.22918531781558,1.95165622202328,1.93375111906893,1.94270367054611,
2.05013428827216,2.08594449418084,2.0680393912265,2.17547000895255,2.54252461951656,1.88003581020591,2.08594449418084,
1.7905102954342,2.63205013428827,2.53357206803939,2.22918531781558,2.73052820053715,3.11548791405551,2.7484333034915,
3.04386750223814,2.60519247985676,3.50044762757386,6.23097582811101,5.36257833482543,4.91495076096688,5.10295434198747,
4.57475380483438,5.43419874664279,4.79856759176365,4.95971351835273,4.51208594449418,5.81915846016115,4.99552372426141,
5.04028648164727,5.27305282005372,4.65532676812892,4.12712623097583,4.76275738585497,6.09668755595345,5.72963294538944,
5.60429722470904,5.12085944494181,4.9059982094897,6.50850492390331,6.40107430617726,5.63115487914056,6.18621307072516,
3.09758281110116,3.67949865711728,2.50671441360788,2.32766338406446,1.81736794986571,2.31871083258729,2.22023276633841,
2.22918531781558,3.09758281110116,2.49776186213071,2.43509400179051,2.72157564905998,2.42614145031334,2.61414503133393,
2.29185317815577,3.26768128916741,2.71262309758281,2.87376902417189,3.23187108325873,2.78424350940018,2.30975828111012,
2.95434198746643,3.19606087735004,3.32139659803044,3.18710832587287,3.91226499552372,4.01969561324978,3.46463742166517,
4.15398388540734,3.68845120859445,2.70367054610564,3.64368845120859,4.14503133393017,5.14771709937332,4.38675022381379,
3.62578334825425,3.96598030438675,3.7958818263205,4.10922112802149,3.07967770814682,4.136078782453,3.86750223813787,
3.97493285586392,3.46463742166517,4.67323187108326,4.18084153983885,4.63742166517458,3.72426141450313,4.64637421665175,
4.28827215756491,3.39301700984781,3.54521038495971,3.48254252461952,4.14503133393017,3.32139659803044,3.34825425246195,
3.41092211280215,3.65264100268577,3.64368845120859,2.99910474485228,3.16025067144136,3.42882721575649,3.96598030438675,
3.10653536257833,3.455684870188,3.43777976723366,3.59892569382274,3.53625783348254,3.93017009847807,3.7958818263205,
3.34825425246195,3.455684870188,3.49149507609669,3.67949865711728,3.82273948075201,4.34198746642793,3.37511190689346,
3.86750223813787,2.89167412712623,3.53625783348254,3.84064458370636,3.16920322291853,4.136078782453,3.68845120859445,
3.37511190689346,2.55147717099373,2.67681289167413,3.35720680393912,2.92748433303491,2.93643688451209,2.76633840644584,
3.50044762757386,2.84691136974038,2.70367054610564,3.71530886302596,3.32139659803044,3.13339301700985,2.99015219337511,
3.22291853178156,3.03491495076097,4.33303491495076,3.34825425246195,3.18710832587287,3.23187108325873,3.21396598030439,
2.54252461951656,2.90957923008057,3.11548791405551,2.86481647269472,2.89167412712623,2.30080572963295,2.42614145031334,
2.78424350940018,2.25604297224709,2.69471799462847,2.60519247985676,2.11280214861235,2.77529095792301,2.50671441360788,
2.60519247985676,3.06177260519248,2.80214861235452,2.08594449418084,2.38137869292748,2.67681289167413,2.63205013428827,
2.80214861235452,3.23187108325873,2.61414503133393,4.68218442256043,3.80483437779767,3.455684870188,3.38406445837064,
2.95434198746643,4.01969561324978,3.66159355416294,4.11817367949866,3.67949865711728,4.1987466427932,3.93912264995524,
3.8585496866607,3.71530886302596,3.48254252461952,3.5810205908684,3.48254252461952,2.57833482542525,2.99015219337511,
3.06177260519248,4.17188898836168,2.84691136974038,2.65890778871979,3.24977618621307,3.33034914950761,3.33930170098478,
2.93643688451209,3.78692927484333,3.42882721575649,2.56938227394808,2.95434198746643,3.04386750223814,3.37511190689346,
2.72157564905998,2.77529095792301,3.60787824529991,2.42614145031334,3.23187108325873,2.0053715308863,2.56938227394808,
2.0680393912265,2.47985675917637,2.44404655326768,2.38137869292748,2.22918531781558,2.43509400179051,2.07699194270367,
2.47985675917637,2.47090420769919,2.44404655326768,2.27394807520143,2.86481647269472,2.95434198746643,2.72157564905998,
3.10653536257833,2.47985675917637,2.23813786929275,2.3455684870188,2.64995523724261,2.39033124440466,2.86481647269472,
4.55684870188004,4.58370635631155,3.54521038495971,4.68218442256043,4.15398388540734,4.43151298119964,5.33572068039391,
4.34198746642793,3.82273948075201,4.58370635631155,4.24350940017905,4.46732318710833,5.07609668755595,5.3088630259624,
3.48254252461952,3.80483437779767,2.72157564905998,2.63205013428827,3.13339301700985,3.9212175470009,4.16293643688451,
3.50940017905103,3.84064458370636,4.38675022381379,4.57475380483438,4.63742166517458,5.12981199641898,5.01342882721576,
4.99552372426141,4.34198746642793,3.38406445837064,4.28827215756491,5.26410026857655,4.0734109221128,4.68218442256043,
4.6911369740376,5.33572068039391,4.81647269471799,4.55684870188004,3.72426141450313,4.82542524619517,4.84333034914951,
4.52103849597135,3.95702775290958,
4.02864816472695,5.55953446732319,4.46732318710833,5.04028648164727,4.49418084153984,5.23724261414503,3.11548791405551,
2.79319606087735,3.31244404655327,2.97224709042077,2.83795881826321,3.77797672336616,2.26499552372426,3.06177260519248,
3.08863025962399,3.05282005371531,3.10653536257833,3.25872873769024,2.67681289167413,2.93643688451209,3.78692927484333,
3.36615935541629,3.43777976723366,2.9632945389436,3.53625783348254,2.92748433303491,3.12444046553268,3.09758281110116,
3.13339301700985,3.50940017905103,2.75738585496867,2.76633840644584,2.93643688451209,2.73052820053715,3.33930170098478,
2.47090420769919,3.34825425246195,2.64100268576544,2.57833482542525,3.44673231871083,3.62578334825425,3.42882721575649,
3.94807520143241,3.40196956132498,3.70635631154879,3.58997314234557,2.75738585496867,3.29453894359893,2.87376902417189,
3.31244404655327,2.92748433303491,3.06177260519248,2.59623992837959,2.30975828111012,2.89167412712623,2.80214861235452,
3.00805729632945,2.75738585496867,2.10384959713518,3.23187108325873,2.55147717099373,3.07072515666965,3.37511190689346,
3.24977618621307,3.33034914950761,3.1781557743957,3.48254252461952,3.52730528200537,3.54521038495971,3.50044762757386,
3.26768128916741,3.65264100268577,4.45837063563116,4.70904207699194,4.68218442256043,3.88540734109221,4.61056401074306,4.55684870188004,4.61056401074306,
4.14503133393017,4.63742166517458,3.46463742166517,4.71799462846911,4.36884512085945,4.60161145926589,5.3088630259624,
4.54789615040287,5.83706356311549,4.52999104744852,5.55953446732319,5.02238137869293,4.32408236347359,4.15398388540734,
4.67323187108326,5.0313339301701,4.94180841539839,3.23187108325873,3.72426141450313,3.16025067144136,3.49149507609669,
4.11817367949866,3.5183527305282,3.09758281110116,4.4136078782453,5.23724261414503,4.77170993733214,4.55684870188004,
3.32139659803044,4.23455684870188,3.80483437779767,4.16293643688451,3.77797672336616,3.94807520143241,3.66159355416294,
4.1987466427932,4.23455684870188,4.27036705461056,3.53625783348254,4.0107430617726,3.33930170098478,3.8585496866607,
3.50044762757386,3.50044762757386,4.82542524619517,3.99283795881826,5.04923903312444,5.04028648164727,4.52999104744852,
4.64637421665175,4.65532676812892,4.51208594449418,4.38675022381379,5.05819158460161,4.61951656222023,3.36615935541629,
5.49686660698299,4.01969561324978,4.37779767233662,3.86750223813787,4.0107430617726,3.93912264995524,3.89435989256938,
5.15666965085049,4.63742166517458,4.18084153983885,4.0734109221128,3.75111906893465,3.21396598030439,3.65264100268577,
3.70635631154879,3.94807520143241,4.0734109221128,4.98657117278424,5.08504923903312,3.41987466427932,3.16920322291853,
3.69740376007162,2.64100268576544,3.07967770814682,3.56311548791406,2.51566696508505,2.91853178155774,3.09758281110116,3.05282005371531,
3.01700984780662,2.47090420769919,3.07072515666965,3.74216651745748,3.33034914950761,3.33930170098478,3.43777976723366,
3.50044762757386,4.02864816472695,4.03760071620412,3.93017009847807,3.76007162041182,3.74216651745748,3.05282005371531,
2.72157564905998,2.67681289167413,2.6230975828111,2.56938227394808,2.22023276633841,2.63205013428827,2.07699194270367,
2.67681289167413,2.408236347359,2.66786034019696,2.58728737690242,2.6857654431513,2.63205013428827,2.55147717099373,
2.73052820053715,2.70367054610564,2.73052820053715,2.53357206803939,3.18710832587287,2.57833482542525,3.09758281110116,
3.3034914950761,2.87376902417189,2.67681289167413,2.87376902417189,2.73052820053715,3.94807520143241,3.62578334825425,
4.42256042972247,4.20769919427037,3.75111906893465,3.29453894359893,4.10922112802149,4.0734109221128,3.34825425246195,
3.62578334825425,3.63473589973142,4.36884512085945,3.74216651745748,3.41092211280215,3.40196956132498,4.05550581915846,
3.48254252461952,3.07072515666965,3.20501342882722,3.83169203222919,3.59892569382274,2.30080572963295,3.12444046553268,
3.13339301700985,3.52730528200537,2.85586392121755,3.7958818263205,4.15398388540734,4.33303491495076,5.04028648164727,
4.70904207699194,4.53894359892569,4.29722470904208,4.61056401074306,4.7538048343778,4.88809310653536,5.14771709937332,
3.57206803939123,3.72426141450313,4.32408236347359,4.09131602506714,3.84064458370636,3.93912264995524,3.48254252461952,
4.6284691136974,4.44941808415398,4.9059982094897,5.65801253357207,4.23455684870188,4.24350940017905,4.28827215756491,
2.38137869292748,1.53088630259624,2.22918531781558,2.85586392121755,2.66786034019696,1.98746642793196,2.63205013428827,
2.26499552372426,2.80214861235452,1.93375111906893,2.89167412712623,2.3455684870188,2.41718889883617,1.77260519247986,
2.48880931065354,3.33930170098478,3.04386750223814,2.77529095792301,2.82005371530886,3.21396598030439,3.88540734109221,
2.23813786929275,2.56938227394808,2.5604297224709,3.22291853178156,2.69471799462847,2.408236347359,2.65890778871979,
2.81110116383169,2.60519247985676,2.72157564905998,2.65890778871979,2.30975828111012,2.86481647269472,2.46195165622202,
2.88272157564906,2.39033124440466,2.82005371530886,2.41718889883617,2.3455684870188,2.65890778871979,2.73052820053715,
2.5604297224709,2.98119964189794,1.88003581020591,2.25604297224709,2.22918531781558,2.37242614145031,2.42614145031334,
2.29185317815577,2.20232766338406,2.17547000895255,2.26499552372426,2.51566696508505,2.45299910474485,1.65622202327663,
2.83795881826321,2.76633840644584,1.44136078782453,1.92479856759176,2.33661593554163,2.20232766338406,1.57564905998209,
1.97851387645479,1.67412712623098,2.18442256042972,2.0680393912265,1.65622202327663,1.80841539838854,1.88003581020591,
2.58728737690242,2.2829006266786,2.57833482542525,2.75738585496867,2.89167412712623,2.77529095792301,2.77529095792301,
2.99910474485228,2.71262309758281,2.67681289167413,2.14861235452104,3.10653536257833,3.13339301700985,2.84691136974038,
3.27663384064458,3.455684870188,3.36615935541629,2.7484333034915,2.48880931065354,2.02327663384064,1.87108325872874,
2.31871083258729,2.35452103849597,2.29185317815577,3.07072515666965,2.94538943598926,3.18710832587287,2.64100268576544,
3.39301700984781,3.06177260519248,2.9632945389436,3.66159355416294,3.18710832587287,3.20501342882722,3.32139659803044,
4.42256042972247,2.69471799462847,3.70635631154879,3.00805729632945,3.47358997314235,4.10922112802149,3.87645478961504,
3.15129811996419,3.81378692927484,2.56938227394808,2.87376902417189,2.78424350940018,2.97224709042077,3.26768128916741,
3.67054610564011,3.1781557743957,3.65264100268577,1.79946284691137,1.89794091316025,1.56669650850492,1.83527305282005,
1.73679498657117,1.81736794986571,2.12175470008953,2.01432408236347,1.33393017009848,1.68307967770815,1.60250671441361,
1.93375111906893,2.48880931065354,2.79319606087735,1.90689346463742,1.42345568487019,2.11280214861235,1.71888988361683,
2.49776186213071,2.30975828111012,2.2829006266786,1.91584601611459,2.19337511190689,1.88898836168308,2.22023276633841,
2.89167412712623,2.79319606087735,2.52461951656222,2.89167412712623,2.5604297224709,3.19606087735004,2.75738585496867,
4.1987466427932,2.70367054610564,3.05282005371531,2.60519247985676,2.98119964189794,3.11548791405551,2.79319606087735,
2.83795881826321,3.06177260519248,2.24709042076992,3.54521038495971,3.07072515666965,3.06177260519248,3.09758281110116,
3.84959713518353,3.82273948075201,3.8585496866607,3.455684870188,6.47269471799463,4.61951656222023,5.50581915846016,
4.32408236347359,3.58997314234557,6.10564010743062,4.98657117278424,6.94717994628469,6.03401969561325,5.01342882721576,
6.10564010743062,6.7591763652641,4.35989256938227,5.39838854073411,4.66427931960609,5.61324977618621,4.95076096687556,
6.49059982094897,4.45837063563116,6.15935541629364,4.95971351835273,6.38316920322292,5.23724261414503,3.99283795881826,
7.05461056401074,4.28827215756491,3.84959713518353,2.9632945389436,3.84959713518353,3.455684870188,3.09758281110116,
3.23187108325873,3.71530886302596,3.27663384064458,3.3034914950761,3.0259623992838,2.91853178155774,2.99015219337511,
2.73052820053715,2.5604297224709,2.408236347359,2.14861235452104,2.42614145031334,2.03222918531782,2.99015219337511,
2.33661593554163,2.35452103849597,2.59623992837959,3.05282005371531,2.02327663384064,2.52461951656222,2.49776186213071,2.25604297224709
};

contour.add(X, Y, Z);
Attachments
contour_fill.PNG
contour_fill.PNG (22.3 KiB) Viewed 16612 times
contour_nofill.PNG
Expected Output from this sample Data (showing up with other charting api)
contour_nofill.PNG (36.94 KiB) Viewed 16612 times

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Contour Chart doesn't work in TeeChart!

Post by Yeray » Wed Jun 23, 2010 9:11 am

Hi Gunjan,

Excuse us for the delayed reply.
Are you sure that the data you've posted is correct? I'm obtaining a different result with it both in TeeChart for Java and TeeChart NET.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

GFoundries
Newbie
Newbie
Posts: 14
Joined: Wed May 21, 2008 12:00 am

Re: Contour Chart doesn't work in TeeChart!

Post by GFoundries » Wed Jun 23, 2010 12:16 pm

Hi Yeray,

Yes I have posted the right data. This data when I used with Teechart - Java didn't plot anything on the chart.
I used ChartDirector charting API and it gave me exactly the expected result.

Can you please provide me your sample program which you used to generate the output because when I tried using ContourDemo.java (I just replaced your sample data with this data by calling contour.add( double[]X, double[]Y, double[]Z) ) but it didn't generate any result in the chart.
An early response is highly appreciated.

Thanks,
Gunjan

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Contour Chart doesn't work in TeeChart!

Post by Yeray » Wed Jun 23, 2010 3:44 pm

Hi Gunjan,

We've tried the following code with TeeChart for NET:

Code: Select all

            tChart1.Aspect.View3D = false;      
            Steema.TeeChart.Styles.Contour contour = new Steema.TeeChart.Styles.Contour(tChart1.Chart);
            contour.IrregularGrid = true;
            contour.FillLevels = true;
            contour.Add(X, Y, Z);
That in java would be:

Code: Select all

        tChart1.getAspect().setView3D(false);
        com.steema.teechart.styles.Contour contour = new com.steema.teechart.styles.Contour(tChart1.getChart());
        contour.setIrregularGrid(true);
        contour.setFillLevels(true);
        contour.add(X, Y, Z);
But noone of them give the expected results with your data so I've added this to the defect list to be studied for further releases (TF02014999, TJ71015002).
If you are a customer who bought the component recently to draw this chart and you are unsatisfied with your purchase (as right now it doesn't seem possible to draw your data with contour series) please contact sales at steema dot com referencing this thread and we will cancel your command.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

GFoundries
Newbie
Newbie
Posts: 14
Joined: Wed May 21, 2008 12:00 am

Re: Contour Chart doesn't work in TeeChart!

Post by GFoundries » Wed Jun 23, 2010 7:26 pm

Hi Yeray,

Thanks for your sample code. But the issue is even a simple data set (given below) doesn't generate/plot anything on the chart.
Not talking about what is expected, but at least I hope to see some output plotted. The concern is I don't see anything at all on my side.
I was wanting to confirm with you if its me doing something wrong in terms of using contour in TeeChart or is it a bug with TeeChart ?
(I have been using ContourDemo.java and have just replaced sample data method call with contour.add(X,Y,Z) as you also mentioned)
Awaiting your reply.

double[] X = {-2.54, -2.6232,-2.648,-2.6396,-2.6798, -2.6162, -2.6292, -2.622,-2.6556,-2.626,-2.648,-2.5866,-2.669,2.6088,-2.6788,-2.6266,-2.6486,-2.5492,-2.623};
double[] Y = {104.82,105.44,106.18,105.44,105.92,104.82,104.78,105.48,105.48,105.12,105.4,104.92,105.58,105.02,104.76, 105.24,105.62,105.36,105.1};
double[] Z = {3.563115488,2.873769024,2.784243509,2.560429722,2.452999105,3.464637422,2.882721576,3.22291, 3.124440466,3.321396598,3.491495076,3.965980304,3.314867763,3.18084346,3.368477484,3.082558971,3.368477484,3.600786276,3.63652609};

Thanks,
Gunjan

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Contour Chart doesn't work in TeeChart!

Post by Yeray » Fri Jun 25, 2010 7:24 am

Hi Gunjan,

Here are some explanations that you may be interested in reading. They are for NET, but the theory is the same.
http://www.teechart.net/support/viewtop ... 02&p=43089
http://www.teechart.net/support/viewtop ... 06&p=37331
http://www.teechart.net/support/viewtopic.php?t=5312
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

GFoundries
Newbie
Newbie
Posts: 14
Joined: Wed May 21, 2008 12:00 am

Re: Contour Chart doesn't work in TeeChart!

Post by GFoundries » Fri Jun 25, 2010 7:24 pm

Hi Yeray,

I looked at all the following posts and based on this tried turning on/off the irregularGrid property. I also tried all permutations and combinations of the X, Y and Z data set when calling them in add method but still I didn't see anything getting plotted on the chart. I also tried changing the Y values so they are close to X, Z assuming this might be an issue, but this still didn't work.
Can you please specifically let me know what's wrong with this dataset if you feel its data that is causing the chart not to be plotted?

double[] X = {-2.54, -2.6232,-2.648,-2.6396,-2.6798, -2.6162, -2.6292, -2.622,-2.6556,-2.626,-2.648,-2.5866,-2.669,2.6088,-2.6788,-2.6266,-2.6486,-2.5492,-2.623};
double[] Y = {104.82,105.44,106.18,105.44,105.92,104.82,104.78,105.48,105.48,105.12,105.4,104.92,105.58,105.02,104.76, 105.24,105.62,105.36,105.1};
double[] Z = {3.563115488,2.873769024,2.784243509,2.560429722,2.452999105,3.464637422,2.882721576,3.22291, 3.124440466,3.321396598,3.491495076,3.965980304,3.314867763,3.18084346,3.368477484,3.082558971,3.368477484,3.600786276,3.63652609};

In this data set I want X values to be considered as my X axis and Y values to be considered for Y axis and Z array is the one I want to use as the contour level/ data to be plotted on the chart.

The issue is we do not have any control over the data. This data is real time and comes directly from Fab's. And the users need to use the charts to analyze the distribution of this data. They are able to see the output from such datasets in the tools they are using. But Teechart is not showing anything for contour series.

Awaiting your reply!

Thanks,
Gunjan

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Contour Chart doesn't work in TeeChart!

Post by Narcís » Mon Jun 28, 2010 7:54 am

Hi Gunjan,

I think the problem is your data is too irregular for TeeChart's Contour series to be able to plot a reliable Contour. Surface and derived series work as described here. Recently we have found some limitations with Contour series and it's in our wish-list enhancing them for future releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply