Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Series label (title) is not visible when priceScaleId is set #463

Closed
Tucsky opened this issue Jun 5, 2020 · 2 comments · Fixed by #465
Closed

Series label (title) is not visible when priceScaleId is set #463

Tucsky opened this issue Jun 5, 2020 · 2 comments · Fixed by #465
Assignees
Labels
bug Unexpected problem or unintended behavior.
Milestone

Comments

@Tucsky
Copy link

Tucsky commented Jun 5, 2020

Lightweight Charts Version: 3.0.0

Steps/code to reproduce:
Add a serie with title property and priceScaleId

var lineSeries = chart.addLineSeries({
	priceScaleId: 'test',
	title: 'LINE LABEL' // not visible because priceScaleId
});

Actual behavior:
Title is not visible
image

Expected behavior:
.title is visible
image

CodeSandbox/JSFiddle/etc link:

https://jsfiddle.net/qja2t8pw/

@timocov timocov changed the title Serie label (title) is not visible when priceScaleId is set Series label (title) is not visible when priceScaleId is set Jun 5, 2020
@timocov timocov added the bug Unexpected problem or unintended behavior. label Jun 5, 2020
@timocov timocov added this to the 3.0 milestone Jun 5, 2020
@timocov timocov self-assigned this Jun 5, 2020
@jussirantala
Copy link

jussirantala commented Dec 2, 2021

This is happening for me with the latest version 3.7.0.

You can also see it in your example which uses 3.4.0. If you add priceScaleId property to the areaSeries configuration, the label disappears:
https://jsfiddle.net/TradingView/4pd5j8xa/

@timocov
Copy link
Contributor

timocov commented Dec 3, 2021

@jussirantala Looks like a bug, let's continue in #926

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants