Answer the question
In order to leave comments, you need to log in
How to return jsx markup in adapter.add in amCharts 4?
Question at https://www.amcharts.com/docs/v4/.
categoryAxis.renderer.labels.template.adapter.add("html", (text, target, key) => {
return `
<div class="category-label">
<h3 class="category-label__title">{login}</h3>
{name}
</div>
`;
});
categoryAxis.renderer.labels.template.adapter.add("html", (text, target, key) => {
return `
<div class="category-label">
<Link to="https:\\bla-bla">Текст</Link>
</div>
`;
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question