Comments (4)
Actually, the original issue seems to be resolved now, so I don't need to use the wrap function.
from amcharts4.
Have you tried setting tooltip's options to workaround that?
A couple of pointers:
chart.tooltip.label.maxWidth = 300;
chart.tooltip.label.wrap = true;
from amcharts4.
That doesn't seem to work correctly:
https://codepen.io/anon/pen/VxJBgJ
https://codepen.io/anon/pen/gzNjKb (maxWidth disabled)
(NOTE: I could only get it working by updating the PieSeries object.)
Setting wrap: true
does force the label to wrap, but not if I set the maxWidth
too. Trying to set the width just misses things up. It's like the text label expands, but not the whole tooltip.
When the maxWidth
is set (which you can see in the example), the tooltip is visually left aligned (instead of centered) and does not match the pixel width.
from amcharts4.
Hey @dswitzer.
Revisiting old issues. Does this issue still relevant to you with the latest version?
I did play around with the tooltips just now. The wrapping / maxWidth combo seems to work fine.
Let me know if I'm missing something, or we can close this.
from amcharts4.
Related Issues (20)
- Not able to print whole chart HOT 2
- How to change legend when use slice grouper by zoom click behavior HOT 3
- Remove Fill color from Pictorial Stacked Chart HOT 4
- In a FunnelSeries chart, how can I show labels in the sliceLinks? HOT 2
- How to hide the tooltip shown for xAxis title HOT 2
- How to hide the bullets when zoom in or zoomout event called HOT 2
- How bar chart with parent and sub catagory HOT 15
- Amchart 4 Legend In Arabic are not Showing Properly HOT 2
- Unable set label for radar chart as per my requirements HOT 2
- How to ensure consistent PNG export appearance regardless of browser zoom? HOT 5
- Amchart4 is ignoring null-category in data HOT 3
- minZoomCount for categoryAxis on yAxis HOT 2
- Pie of a Pie (problems with the lines) HOT 2
- How to show text in chart area without overlapping with the bars ? HOT 2
- Local formatter for ValueAxis HOT 2
- [Question] Multiple CandlestickSeries is shifted relative to each other HOT 2
- Wrong cursor position when viewbox and real width/height not matching HOT 3
- Map with clustered points and lines HOT 2
- Center wrapped legend items HOT 2
- How to access legend from another Element HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amcharts4.