question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiple crosshair price labels when there are crosshair markers in series

See original GitHub issue

Lightweight Charts Version: “lightweight-charts”: “3.2.0”,

Steps/code to reproduce: i create clear project with last js library version. value label is not show but time label is okey. in console no warning/error What is can be ?

this.chart = createChart(this.$refs.chartDiv, {
			timeScale: {
				timeVisible: true,
				secondsVisible: true,
			},
			crosshair: {
				horzLine: {
					visible: true,
					labelVisible: true,
				},
				vertLine: {
					visible: true,
					labelVisible: true,
				},
				mode: 1,
			},
		});
this.l= this.chart.addLineSeries({ color: 'green' });
this.l.setData(data);

this.l2= this.chart.addLineSeries({ color: 'red' });
this.l2.setData(data2);

image

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
prireficommented, Aug 23, 2021

Any update or new developments on this feature?

0reactions
timocovcommented, Nov 17, 2021

is no labels on price scale from chart and indicator(MA).

Are you talking about labels for the latest price or for crosshair? Because it seems that you disable last price labels. I just don’t want to mix them together to avoid any confusion. For me it is still unclear what and why you want to get it so that’s why I’m asking questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crosshairs - ZingChart
Crosshairs appear on a chart as hover labels connected by vertical and/or horizontal lines. They are an interactive alternative to tooltips.
Read more >
Crosshair | Axes and Grids - AnyChart Documentation
A crosshair is a pair of perpendicular lines (horizontal and vertical) that move when the mouse is moved. As a rule, there are...
Read more >
Cross Hair - NinjaTrader 8
The Global Cross Hair allows you to link Cross Hairs from multiple chart windows ... will move together by automatically staying at the...
Read more >
Crosshair Cursor | WPF Controls - DevExpress Documentation
If a chart contains multiple series, the crosshair label displays a ... allow you to manage how crosshair elements display their content.
Read more >
Display price at cross hairs - Support Board - Sierra Chart
No, it not supported to display the price at the intersection of the crosshairs. Just to make sure you are aware that the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found