Skip to content

Commit 4a56493

Browse files
authored
Fixed docs for inline example for webcomponents.org
1 parent 77ea072 commit 4a56493

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,18 @@ Or [download as ZIP](https://github.com/avdaredevil/highcharts-chart/archive/mas
4343
```
4444
<custom-element-demo>
4545
<template>
46-
<script type="module" src="highcharts-chart.js">
46+
<script type="module" src="highcharts-chart.js"></script>
4747
<next-code-block></next-code-block>
48-
4948
</template>
5049
</custom-element-demo>
5150
```
5251
-->
5352

5453
```html
55-
<highcharts-chart type="spline" data='[[0,0],[1,7],[2,1],[3,6],[4,8],[5,6]]' title='Test-Spline Chart' x-zoom x-label="Iterations" y-label="Awesomeness Index"></highcharts-chart>
54+
<highcharts-chart x-zoom type="spline"
55+
title="Test-Spline Chart"
56+
data='[[0,0],[1,7],[2,1],[3,6],[4,8],[5,6]]'
57+
x-label="Iterations" y-label="Awesomeness Index"></highcharts-chart>
5658
```
5759

5860
#### Other Examples

0 commit comments

Comments
 (0)