Guest User

Untitled

a guest
Jan 18th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. .highcharts-container { overflow: visible !important; }
  2. .highcharts-axis-labels text
  3. {
  4. overflow: visible !important;
  5. }
  6.  
  7. <text x="229.0625" style="color: rgb(96, 96, 96); cursor: default; font-size: 9px; padding: 0px; fill: rgb(96, 96, 96);" text-anchor="middle" transform="translate(0,0)" y="32" opacity="1">
  8. <tspan>47…</tspan>
  9. <title>47.5k</title>
  10. </text>
  11.  
  12. labels: {
  13. autoRotation: false,
  14. style: {
  15. width: '200px',
  16. 'min-width': '200px'
  17. },
  18.  
  19. xAxis: {
  20. labels: {
  21. style: {
  22. textOverflow: 'none'
  23. }
  24. }
  25. }
  26.  
  27. xAxis: {
  28. labels: {
  29. useHTML: true,
  30. formatter() {
  31. let label = this.value;
  32. let title = this.value;
  33. let style = `text-overflow: ellipsis; overflow: hidden;`; // <- YOUR OWN STYLE
  34. return `<div style="${style}" title="${title}">${label}</div>`;
  35. }
  36. },
  37. },
Add Comment
Please, Sign In to add comment