Skip to content

Please help to convert table to chart bar #75

Answered by ramiy
cryptobandteam asked this question in Q&A
Discussion options

You must be logged in to vote

@cryptobandteam

Use this table:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/charts.css/dist/charts.min.css">

<table class="charts-css bar show-labels">
  <tbody>
    <tr>
      <th scope="row" scope="row">01.02.2022</th>
      <td style="--size: calc( 300 / 1530 )">$300</td>
    </tr>
    <tr>
      <th scope="row" scope="row">06.02.2022</th>
      <td style="--size: calc( 540 / 1530 )">$540</td>
    </tr>
    <tr>
      <th scope="row">21.02.2022</th>
      <td style="--size: calc( 780 / 1530 )">$780</td>
    </tr>
    <tr>
      <th scope="row">02.03.2022</th>
      <td style="--size: calc( 690 / 1530 )">$690</td>
    </tr>
    <tr>
      <th scope="row">07.03.2022</th>

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cryptobandteam
Comment options

@ramiy
Comment options

Answer selected by ramiy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants