Hi Punam Dahikamble
There are lot of option avaible in mendix marketplace that will help you. Kindly check it there one of the component I found is Charts and Link.
I hope this helps
Hi,
If AnyChart is not available, the recommended approach is to use a custom pluggable widget or HTML/JS integration with a charting library like Chart.js or ECharts.
[
{ "label": "Jan", "value": 10 },
{ "label": "Feb", "value": 20 }
]
<canvas id="myChart"></canvas>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script>
const data = {{YourJSONString}};
const labels = data.map(x => x.label);
const values = data.map(x => x.value);
new Chart(document.getElementById('myChart'), {
type: 'bar',
data: {
labels: labels,
datasets: [{
data: values
}]
}
});
</script>
This gives:
Keep JSON simple and flat:
[
{ "category": "A", "value": 100 },
{ "category": "B", "value": 200 }
]
Map:
category → X-axisvalue → Y-axisWithout AnyChart, the most practical solution is to use Chart.js via HTMLSnippet for quick implementation, or a custom pluggable widget for a scalable solution, feeding it JSON generated from Mendix microflows.