Print Page | Close Window

point deletion method??

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Chart Control
Forum Description: Topics Related to Codejock Chart Control
URL: http://forum.codejock.com/forum_posts.asp?TID=24127
Printed Date: 27 November 2024 at 12:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: point deletion method??
Posted By: co.2195
Subject: point deletion method??
Date 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.



Replies:
Posted By: cluster
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net