Skip to content

Commit

Permalink
Updated chart width logic to use pixels
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielPDWalker committed Jan 10, 2024
1 parent 0e18d16 commit cb39426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htmlcharts/bar_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def join_html_template(style_html, xaxis_html, bars_html, chart_width):
{style_html}
</head>
<body>
<table style="min-width: {chart_width};">
<table style="min-width: {chart_width}px;">
<tbody>
<tr class="bars">
{bars_html}
Expand Down

0 comments on commit cb39426

Please sign in to comment.