<div>I used vtkChart API to draw a line: y=sin(x) using "scatter points",</div><div><br></div><div>the chart is abnormal when the number of points are more than 40,000. </div><div><br></div><div>just like pictrue a.jpg in enclosure.</div>
<div><br></div><div>but if the points are less than 40,000 or using "Line" to draw y=sin(x),</div><div><br></div><div>the chart is correct. Just like pictrue b.jpg.</div><div><br></div><div>I want to know how to use "scatter points" in drawing charts with huge scale of points ?</div>
<div><br></div><div>or vtkChart may be not applicable in this situation ?</div><div><br></div><div><br></div><div>P.S:</div><div><br></div><div>By reading the source Code of vtkChart,</div><div><br></div><div>I found when drawing in "scatter points", </div>
<div><br></div><div>it used function 'DrawPointSprites'.</div><div><br></div><div>if replaced it with function 'DrawPoints',the chart shows correctly,</div><div><br></div><div>even number of points more than 40,000.</div>