File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ composer require bbsnly/chartjs-php
2222
2323Minimum Requirements:
2424
25- - PHP version: 8.2 or higher
25+ - PHP version: 8.1 or higher
2626- ChartJS version: 2.0 or higher
2727
2828## Usage
@@ -64,7 +64,7 @@ $chart->toHtml('my_chart'); // Returns the HTML and JavaScript code for the char
6464
6565In the example below we will use the ` toHtml ` method to generate the HTML and JavaScript code for the chart.
6666
67- ``` php
67+ ``` html
6868<script src =" https://cdn.jsdelivr.net/npm/chart.js" ></script >
6969
7070<div >
@@ -76,7 +76,7 @@ In the example below we will use the `toHtml` method to generate the HTML and Ja
7676
7777In the example below we will use the ` toJson ` method to generate the JSON representation of the chart data.
7878
79- ``` php
79+ ``` html
8080<div >
8181 <canvas id =" myChart" ></canvas >
8282</div >
You can’t perform that action at this time.
0 commit comments