axisLabel.renderMode: 'html'
See original GitHub issueWhat problem does this feature solve?
Right now it’s impossible to format the axisLabel
in html.
Example:
axisLabel: {
formatter: value => {
return `<div class="wrapper">
<div class="logo">
<img src="...">
</div>
<span>${value}</span>
</div>`
}
}
This doesn’t work currently.
What does the proposed API look like?
Like for tooltip
:
axisLabel: {
renderMode: 'html',
formatter: value => {
return `<div class="wrapper">
<div class="logo">
<img src="...">
</div>
<span>${value}</span>
</div>`
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
axisLabel.renderMode: 'html' #10564 - apache/echarts - GitHub
What problem does this feature solve? Right now it's impossible to format the axisLabel in html. Example: axisLabel: { formatter: value ...
Read more >Changelog - Apache ECharts
[Feature] Provide more smarter time axis label and tick arrangement: ... Fix newline in tooltip of radar and map series when using ricText...
Read more >rrdgraph - RRDtool
The x-axis label is quite complex to configure. If you don't have very special needs it ... This allows one to embed some...
Read more >Class CircularGaugeAxisLabelStyle - Syncfusion
Gets or sets the style of the axis label in circular gauge component. Inheritance. System.Object. CircularGaugeAxisLabelStyle. Namespace: Syncfusion.Blazor ...
Read more >rrdgraph(1) — Arch manual pages
The x-axis label is quite complex to configure. If you don't have very special needs it ... This allows one to embed some...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
formatter的问题解决了
axisLabel
does not support HTML rendering. Usingrich
is correct.