Skip to content

Commit

Permalink
better example formatting. #224
Browse files Browse the repository at this point in the history
  • Loading branch information
ctcncgr committed Apr 30, 2024
1 parent 1153cc4 commit 1fb7530
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions dev/core/lis-histogram-element.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,20 @@
</head>

<body>

<div class="uk-container" style="overflow: visible; text-align: center">
<div class="uk-container" style="overflow: visible;">
<h1>&lt;lis-histogram-element&gt;</h1>
<p>
The <code>&lt;lis-histogram-element&gt;</code> provides a generic component for rendering a histogram using D3.js.
The <code>&lt;lis-histogram-element&gt;</code> provides a generic component for rendering a histogram using <a href="https://d3js.org/">D3.js</a>.

See, <a href="https://d3js.org/">D3.js</a> for more information.
<br><br>

In the example below, the 'Rating' and 'Cheese' columns from the <code>&lt;lis-simple-table-element&gt;</code> are used
to generate the histogram.
</p>
<hr>
<lis-simple-table-element id="table"></lis-simple-table-element>
<lis-histogram-element id="histogram"></lis-histogram-element>
</div>

</div>
<!--Set all attributes/properties via JavaScript for lis-simple-table-element-->
<script type="text/javascript">
// get the simple table element
Expand Down

0 comments on commit 1fb7530

Please sign in to comment.