Add PNG export to Capture Rate chart
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user