Add PNG export to Capture Rate chart

This commit is contained in:
fahed
2026-02-02 18:08:34 +03:00
parent b51edaeeb8
commit f17e19f3f8

View File

@@ -475,7 +475,7 @@ function Dashboard({ data, showDataLabels }) {
<div className="chart-card full-width"> <div className="chart-card full-width">
<h2>Capture Rate vs Umrah Pilgrims</h2> <h2>Capture Rate vs Umrah Pilgrims</h2>
<div className="chart-container"> <ExportableChart filename="capture-rate" className="chart-container">
<Line data={captureRateData} options={{ <Line data={captureRateData} options={{
...baseOptions, ...baseOptions,
plugins: { plugins: {
@@ -513,7 +513,7 @@ function Dashboard({ data, showDataLabels }) {
} }
} }
}} /> }} />
</div> </ExportableChart>
</div> </div>
</div> </div>