Skip to content

Commit

Permalink
Merge pull request #63 from Kraniket901/section14
Browse files Browse the repository at this point in the history
Section14
  • Loading branch information
virajchandra51 authored Sep 29, 2023
2 parents f3a7cf7 + ea880f9 commit ea726cb
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions src/pages/home/sections/section14/Section14.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ const Section14 = () => {
id: "basic-bar",
},
xaxis: {
categories: ["2018", "2019", "2020", "2021", "2022", "2023"],
categories: ["2016", "2018", "2019", "2020", "2022", "2022-23", "2023-24"],
title: {
text: "Year",
},
},
yaxis: {
title: {
text: "No of Registrations",
text: "Total Number of Teams",
},
},
dataLabels: {
Expand All @@ -36,13 +36,11 @@ const Section14 = () => {
series: [
{
name: "Total Number of Teams",
data: [100, 500, 700, 1000, 1000, 1100],
data: [120, 200, 260, 450, 570, 640, 800],
},
],
series: [
{
name: "Total Participations",
data: [500, 1000, 1000, 2500, 3000, 5000],
data: [500, 800, 1000, 1600, 1800, 2400, 3200],
},
],
});
Expand Down Expand Up @@ -76,7 +74,7 @@ const Section14 = () => {
...optionsWithoutToolbar,
xaxis: {
...optionsWithoutToolbar.xaxis,
categories: ["2016", "2018", "2019", "2020", "2022", "2023"],
categories: ["2016", "2018", "2019", "2020", "2022", "2022-23", "2023-24"],
title: {
text: "Year",
},
Expand All @@ -88,7 +86,7 @@ const Section14 = () => {
},
},
}}
series={state.series}
series={state.series.slice(0, 1)}
type="area"
/>
</div>
Expand All @@ -97,20 +95,18 @@ const Section14 = () => {
options={{
...state.options,
xaxis: {
...state.options.xaxis,
categories: ["2016", "2018", "2019", "2020", "2022", "2023"],
categories: ["2016", "2018", "2019", "2020", "2022", "2022-23", "2023-24"],
title: {
text: "Year",
},
},
yaxis: {
...state.options.yaxis,
title: {
text: "Total Participations",
},
},
}}
series={state.series}
series={state.series.slice(1)}
type="bar"
/>
</div>
Expand Down

0 comments on commit ea726cb

Please sign in to comment.