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.

Create Custom Axis Labels

See original GitHub issue

I’m submitting a…


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Current behavior

This is a copy-paste from jask-oss original issue

When putting an SVG or SVG partial into the format property, they do not appear because they are put inside a title tag.

Expected behavior

Putting an SVG into the format property will render it properly (maybe even extend this to normal HTML with <foreignObject>.

Minimal reproduction of the problem with instructions

https://codesandbox.io/s/reaviz-bar-demo-x2b24

  • Return an SVG inside the format property.
  • SVG does not appear because it’s embedded in a title

What is the motivation / use case for changing the behavior?

Having icons for labels instead of text can improve the look and feel of charts.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
SleepWalkercommented, Oct 23, 2020

@amcdnl I’ve submitted my current progress as a PR. It’s still not ready, but I think this is a time to receive some feedback about my implementation decisions,

0reactions
amcdnlcommented, Oct 8, 2020

@SleepWalker - can you share that code and I can help fix the delta in the library?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change axis labels in a chart - Microsoft Support
Right-click the category labels you want to change, and click Select Data. Right-click the category axis and Select Data · In the Horizontal...
Read more >
How to create custom x-axis labels in Excel - YouTube
Two ways to customize your x- axis labels in an Excel Chart.
Read more >
Create Custom Horizontal or x-axis Labels - YouTube
If you're working with data in Excel, you know that labels on the x- axis can make or break the way your data...
Read more >
How to customize axis labels | Exceljet
Here you'll see the horizontal axis labels listed on the right. Click the edit button to access the label range. It's not obvious,...
Read more >
How to Change Axis Labels in Excel (3 Easy Methods)
3 Easy Methods to Change Axis Labels in Excel · First of all, click the cell in the worksheet that you want to...
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