CLOVER Website - v0.3.1
    Preparing search index...
    • PieChart component displays a pie chart with correct and incorrect answers. It uses the Chart.js library to render the chart and is responsive to dark mode changes.

      Parameters

      • props: { correct: number; incorrect: number; title?: string }

        The props for the PieChart component.

        • correct: number

          The number of correct answers.

        • incorrect: number

          The number of incorrect answers.

        • Optionaltitle?: string

          The title of the chart.

      Returns Element

      • The rendered PieChart component.