Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Chart Control
  New Posts New Posts RSS Feed - Catching ChartSeriesPoint Associated Labels
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Catching ChartSeriesPoint Associated Labels

 Post Reply Post Reply
Author
Message
GazitJ View Drop Down
Newbie
Newbie
Avatar

Joined: 23 September 2020
Location: Israel
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote GazitJ Quote  Post ReplyReply Direct Link To This Post Topic: Catching ChartSeriesPoint Associated Labels
    Posted: 19 November 2020 at 3:56am
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?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.