I have DMC and Dash. I have been using the new RadarChart, and, for a specific usecase, I need to reate a custom Tick header for each category; and, for some reason, this Javascript function is just not registering, no matter what I do. No errors are thrown or anything, ut nothing from the function is loaded, not even a log.
var dmcfuncs = window.dashMantineFunctions = window.dashMantineFunctions || {};
dmcfuncs.RadarChartTickHeader = function (props) {
const { x, y, payload, textAnchor } = props;
return React.createElement(
"text",
{
x: x,
y: y,
fill: payload.fill || "#000000",
textAnchor: textAnchor || "middle",
dominantBaseline: "central",
fontWeight: "bold",
fontSize: 40,
},
payload.value
);
}
polarAngleAxisProps={
"tick": {"function": "RadarChartTickHeader"}
},