Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
mjml-chart
Advanced tools
Displays a image chart in your email. Note that the chart can be animated (gif) if the chan
attribute is specified.
<mjml>
<mj-body>
<mj-container>
<mj-section>
<mj-column>
<mj-chart chs="300x200" chd="t:10,20,30|15,25,35" cht="bvs" chxt="x,y" chxl="0:|A|B|C" />
</mj-column>
</mj-section>
</mj-container>
</mj-body>
</mjml>
attribute | description | value examples |
---|---|---|
cht | chart type | bvg , p |
chd | chart data | `t:10,20,30 |
chds | text format custom scaling | -80,140 |
chof | output fake format | .png |
chs | chart size | 400x400 |
chdl | text for each series, to display in the legend | `NASDAQ |
chdls | chart legend text and style | 9e9e9e,17 |
chg | grid lines | 1,1 , 0,1,1,5 |
chco | series colors | FFC48C , FF0000,00FF00,0000FF |
chtt | chart title | My beautiful chart |
chts | chart title colors and font size | 00FF00,17 |
chls | line thickness and solid/dashed style | 10 , `3,6,3 |
chl | pie chart labels | `label1 |
chf | Background Fills | b0,lg,0,f44336,0.3,03a9f4,0.8 |
chan | gif configuration | 1200 , `1300 |
chli | doughnut chart inside label | 95K€ , 45% |
icac | image-charts enterprise account_id | accountId |
ichm | HMAC-SHA256 signature | 0785cf22a0381c2e0239e27c126de4181f501d11… |
Since mjml-chart
is a wrapper for mjml-image
, mjml-image
attributes are also available:
attribute | default values |
---|---|
padding | 10px 25px |
align | center |
alt | n/a |
border | none |
border-radius | n/a |
title | n/a |
Note:
src
attribute is not customizable, it's generated by mjml-chart
width
and height
are automatically generated by mjml-chart
based on the chs
attributeFAQs
mjml-chart
The npm package mjml-chart receives a total of 365 weekly downloads. As such, mjml-chart popularity was classified as not popular.
We found that mjml-chart demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.