Print Page | Close Window

Catching ChartSeriesPoint Associated Labels

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=24094
Printed Date: 22 December 2024 at 12:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Catching ChartSeriesPoint Associated Labels
Posted By: GazitJ
Subject: Catching ChartSeriesPoint Associated Labels
Date Posted: 18 November 2020 at 1:38am
Hey All,

I'm trying to use the HitTest() method for catching associated "ChartSeriesPoint" labels in my dialog.

CUiChartControl* ipChart
CPoint iPt

ChartSeriesPoint* pChartSeriesPoint =
dynamic_cast<ChartSeriesPoint*>(ipChart->HitTest(iPt));
ChartAxisLabel* pBarAxisLabel =
dynamic_cast<ChartAxisLabel*>(ipChart->HitTest(iPt));
ChartBarSeriesLabel* pBarSeriesLabel =
dynamic_cast<ChartBarSeriesLabel*>(ipChart->HitTest(iPt));

When I'm catching the "ChartAxisLabel" or the "ChartBarSeriesLabel" I don't see anything
that connect them to the "ChartSeriesPoint".



Can someone help me please?




Replies:
Posted By: GazitJ
Date Posted: 15 December 2020 at 2:37pm
Can someone please reply?
even "you cant do it" will help me...



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