-
Notifications
You must be signed in to change notification settings - Fork 91
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
stockchart label issue #1608
Comments
Would you be able to post your whole chart and data on CodePen/jsFiddle so that we can test? |
@martynasma
I don't want this :
|
Have you tried setting bg.set("fillOpacity", 1); |
Did that @martynasma Now my full code looks like
|
Are you seeing the same issue here? |
I got the issue, actually my valueAxis opacity was : 0.7 that's why it was giving the transparent look. Sorry @martynasma my bad. But still I am able to see 2 ticks like this : code pen to see : https://codepen.io/Ansh-m-the-reactor/pen/bGPNQBL?editors=1010 |
I don't want to see this two ticks in the label how can I achieve this ? |
Just disable it: currentValueDataItem.get("tick").set("forceHidden", true); |
@martynasma How can I fix the width of the label, currently its dynamic according to the the number. |
Have you tried setting |
@martynasma I want it to sync it with the valueAxis width, so whatever the width of the valueAixs I want the same to be of lablel.
OR
So If I can make it constant? Like if we get the decimal value then show it else show ZERO after decimal number by this way the label size will be fixed. |
Maybe you can use an adapter: currentLabel.adapters.add("width", function(width, target) {
return yAxis.width();
}); |
This issue is stale because it has been open 30 days with no activity. It will be closed in 5 days unless a new comment is added. |
I have created a label to show the price in the stockchart, but sometimes the background values seems to override .
Even though I gave the opaque color, then too.
something like this :
The text was updated successfully, but these errors were encountered: