Questions tagged [cross-hair-label]

8 questions
1
vote
1 answer

Matplotlib cross hair cursor in PyQt5

I want to add a cross hair that snaps to data points and be updated on mouse move. I found this example that works well: import numpy as np import matplotlib.pyplot as plt class SnappingCursor: """ A cross hair cursor that snaps to the data…
Amir
  • 65
  • 1
  • 2
  • 7
1
vote
1 answer

naming an asciimatics scene

I am trying to make a game with a fight. to do this i need to loop through a certain scene until either the player or monster has a health value of 0 or less. so i have variables set up to play the next scene (which is the same scene that i want to…
ajcodes
  • 17
  • 4
1
vote
1 answer

Highstock: How can I format the xAxis crosshair label?

I try to format the xAxis crosshair label, but the default one always overlap the formatted one. In the example, how can I have only the RED label? Or in other words, how can we format this xAxis crosshair label with HighStock (the behaviour seems…
FrancoisG
  • 33
  • 5
1
vote
1 answer

Is there a way to adjust cross-hair label by a few pixels in JFreeChart?

This question is related to my previous question [ How to get [x,y] values from a JfreeChart to set the mouse position on screen? ], the complete code is listed below. The apps runs fine, but I noticed that the cross-hair label sometimes looks a bit…
Frank
  • 30,590
  • 58
  • 161
  • 244
0
votes
0 answers

Crosschairs could not be stuck with point data

Could you please, help to solve the issue where yaxis: crosschairs cannot be stuck with point data? So if I move the mouse up/down, yaxis: crosschairs is moving as well, but I'd like to stuck it with data (blue ball-> see screenshot below) This is…
0
votes
1 answer

Syncfusion chart synchronised crosshair - Angular

My problem is that I didn't find any solution so far that could display the crosshair across my charts synchronusly. Although, I found a solution for my problem…
0
votes
1 answer

How can i move to the next scene with cross_hairs in python asciImatics?

Im new to using asciimatics, and im playing around with it to make a game. However, when i add a cross_hairs to a scene, it wont move to the next scene. How can i move to the next scene when i have cross_hairs?
ajcodes
  • 17
  • 4
0
votes
1 answer

My custom widget not react to my paintEvent on other sessions

Im trying to develop a program which have many of my custom widget. in my widget i have a crosshair mouse pointer and when i move it in one of my widgets, all of them must sense it and the crosshair must react on every single widget. I have a…
Nuke
  • 1
  • 1