User (Legacy) Posted April 13, 2005 Report Share Posted April 13, 2005 I have a scatter plot with 20 points. Now if I want to add a line series to that with 4 points my line always gets brought back to zero. Is there something else that needs to be specified? Link to comment Share on other sites More sharing options...
Software FX Posted April 14, 2005 Report Share Posted April 14, 2005 Yes. All series have the same number of points, in other words the chart data is a grid of values. What you need to do is "hide" those extra points. You can do this in two ways: 1) When you add the new series to the chart, make sure you do: chart1.OpenData(COD.Values | COD.AllocHidden,chart1.NSeries+1,chart1.NValues); chart1.CloseData(COD.Values); 2) Set the value for the remaining points (from 4 to 19) to Chart.Hidden chart1.Value[i] = Chart.Hidden; -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.