
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
The purpose of this gem is to capture data to create a chart, in an object, so that we can do the following things
The project is in progress. So please wait for the release.
The project is similar to chartkick. The reason I am planning to create another project is because it does not support to export charts in image.
For generating image from the chart data we are using Gruff
Here are some sample code to generate graph object and render to web.
@chart = Chartify::Factory.build(:line) do |chart|
chart.data = [{hours_remain: 100, estimated_hours_remain: 100, day: 3.days.ago.to_date},
{hours_remain: 50, estimated_hours_remain: 45, day: 2.days.ago.to_date},
{hours_remain: 5, estimated_hours_remain: 10, day: 1.days.ago.to_date}]
chart.columns = {hours_remain: 'Hours remaining', estimated_hours_remain: 'Estimated hours remaining'}
chart.label_column = :day
end
In the web page,
<div id="chart" style="width: 900px; height: 180px;"></div>
<%= @chart.render_chart('chart') %>
To export the chart as image,
@chart.to_blob
Now you can attach the blob to email or in the PDF file.
This project rocks and uses MIT-LICENSE.
FAQs
Unknown package
We found that chartify 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.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.