Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Chart Control
  New Posts New Posts RSS Feed - point deletion method??
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

point deletion method??

 Post Reply Post Reply
Author
Message
co.2195 View Drop Down
Newbie
Newbie


Joined: 26 January 2021
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote co.2195 Quote  Post ReplyReply Direct Link To This Post Topic: point deletion method??
    Posted: 26 January 2021 at 3:46am
There is a way to add a point
Is there a way to delete it?

Point Add :
   pPoints->Add(new CXTPChartSeriesPoint(0, 2.5));

Point Delete :
   ????????

I would like to add only 200 to the chart
-> ex) If you add 201, delete 1.
Back to Top
cluster View Drop Down
Groupie
Groupie


Joined: 22 January 2015
Status: Offline
Points: 89
Post Options Post Options   Thanks (1) Thanks(1)   Quote cluster Quote  Post ReplyReply Direct Link To This Post Posted: 27 January 2021 at 2:45pm
Hi,

I would say:
void Remove( CXTPChartElement* pElement );
or
void RemoveAt( int nIndex );


Windows 7
Visual Studio 2013
CodeJock 18.6
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.109 seconds.