Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
chartist-html
Advanced tools
Readme
Proposal for a JS-less input syntax for Chartist.js charts, written in pure HTML. ChartistHtml
brings static html snippets back to life on command, including tooltips, custom high-level options and number formatting using numeral
.
Simply install using bower:
bower install --save chartist-html
Create your first chart and include it your html:
<div class="cts" data-type="bar" data-options="stacked|horizontal">
<ul>
<li class="cts__labels">May|June|July|August|September</li>
<li class="cts__series" data-name="Federal">1|2|3|4|5</li>
<li class="cts__series" data-name="State">1|2|3|4|5</li>
<li class="cts__series" data-name="Local">1|2|3|4|5</li>
</ul>
</div>
Add the script once document is loaded:
ChartistHtml.render();
The unordered list tag is now hidden (in case you didn't readily style it so), and has the fully rendered Chartist.js chart as its sibling:
<div class="cts" data-type="bar" data-options="stacked|horizontal">
<ul>...</ul>
<div class="ct-chart">
<svg><!-- --></svg>
</div>
</div>
This library gives you the option to store all chart data in your html without having to add any JavaScript dependencies. This will come in handy if:
Features:
FAQs
html store and no-JavaScript input syntax for Chartist.js charts. Includes JavaScript code that brings static html snippets back to life once they are rendered.
We found that chartist-html demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.