Home > Back-end >  Some problems about the TChart
Some problems about the TChart

Time:11-12

I want to get this effect: when the mouse is close to the arrow points to the node in the graph, the mouse automatically moved to this point, how to do?

CodePudding user response:

Not a good way to

CodePudding user response:

Add a TChart Tools, on Point is the Tools, you give it a try!

CodePudding user response:

The need to coding, thought like this:
1, peak value, save in the array;
2, whether the mouse in to peak for the radius range;
3, if in, setting the mouse X Y value in peak value,

CodePudding user response:

reference lyhoo163 reply: 3/f
need their coding, thought like this:
1, peak value, save in the array;
2, whether the mouse in to peak for the radius range;
3, if in, setting the mouse X Y values in the value of the peak

Feeling is feasible, I don't know how efficiency

CodePudding user response:

One type of the TCHART are tracing point, you draw a line, then stipple a, and will point set is ok before

That is to say the same set of data, using two Series draw

Then in some Series MouseEnter incident, X:=DotSeries. GetCursorValueIndex; Method to get the X coordinate
Y:=DotSeries YValue [X]; Method Y
Set the DotSeries. Parent. Hint:=IntToStr (X) + IntToStr (Y);
Through the Application. ActiveHint (Mouse. CursorPos)

CodePudding user response:



Abscissa of the building Lord implementation date is??????? I won't be set TCHART ah, bosses for help,,,

CodePudding user response:

refer to 6th floor jy02163807 response:


Abscissa of the building Lord implementation date is??????? I won't be set TCHART ah, bosses, for help,,


Supplement: is the TeeChart,

CodePudding user response:

BottomAxis set a datetime attribute to true
  • Related