ChartForgeX 1.0.0
dotnet add package ChartForgeX --version 1.0.0
NuGet\Install-Package ChartForgeX -Version 1.0.0
<PackageReference Include="ChartForgeX" Version="1.0.0" />
<PackageVersion Include="ChartForgeX" Version="1.0.0" />
<PackageReference Include="ChartForgeX" />
paket add ChartForgeX --version 1.0.0
#r "nuget: ChartForgeX, 1.0.0"
#:package ChartForgeX@1.0.0
#addin nuget:?package=ChartForgeX&version=1.0.0
#tool nuget:?package=ChartForgeX&version=1.0.0
ChartForgeX - Dependency-Free Chart Rendering for .NET
ChartForgeX renders polished charts, visual blocks, topology diagrams, and static report visuals from .NET without adding runtime chart dependencies to generated output.
The core package renders SVG, script-free static HTML, PNG, GIF, JPEG, BMP, PPM, and TIFF. Optional browser behavior lives in adapter packages, so generated reports can stay static while dashboard hosts can opt into tooltips, selection, zoom, pan, synchronized charts, and export controls.
Install
dotnet add package ChartForgeX
ChartForgeX targets net472, netstandard2.0, net8.0, and net10.0. The core package has no runtime package dependencies.
| Package | Purpose |
|---|---|
ChartForgeX |
Static SVG, HTML, PNG, GIF, JPEG, BMP, PPM, and TIFF rendering. |
ChartForgeX.Interactivity |
Host-neutral interaction contracts. |
ChartForgeX.Interactivity.Html |
Self-contained chart and topology interaction adapter, including interactive topology pages, the stencil browser, and the graph explorer with SVG, Canvas, WebGL, hierarchy navigation, compact large-scene documents, and runtime patches. |
Visual Tour
These previews are generated by ChartForgeX.Examples and checked into the public repository. HTML links open through the Evotec preview service so the generated pages render directly.
| Dashboard composition | Topology and geography |
|---|---|
![]() |
![]() |
| HTML / SVG / PNG | HTML / SVG / PNG |
| Operational dashboard grids | Report-ready small multiples |
|---|---|
![]() |
![]() |
| HTML / SVG / PNG | HTML / SVG / PNG |
More generated output is available in the GitHub gallery artifacts and on the project site.
Quick Start
using ChartForgeX;
using ChartForgeX.Core;
using ChartForgeX.Primitives;
using ChartForgeX.Themes;
using System.Linq;
var chart = Chart.Create()
.WithTitle("Domain Security Checks")
.WithSubtitle("Dependency-free SVG, HTML, and PNG chart rendering")
.WithXAxis("Run")
.WithYAxis("Checks")
.WithTheme(ChartTheme.ReportDark())
.WithSize(1180, 640)
.WithXLabels("Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun")
.AddSmoothArea("Passed", Points(820, 940, 980, 1040, 1120, 1180, 1230))
.AddSmoothLine("Warnings", Points(120, 138, 132, 110, 98, 86, 72), ChartColor.FromRgb(251, 191, 36));
chart.SaveSvg("domain-security.svg");
chart.SavePng("domain-security.png");
chart.SaveHtml("domain-security.html");
static ChartPoint[] Points(params double[] values) =>
values.Select((value, index) => new ChartPoint(index, value)).ToArray();
Typed Data and Scales
Hosts keep their own records and map them directly into native charts. ChartDataset<T> provides immutable filter, sort, projection, grouping, summary, and numeric-bin operations without introducing a second chart-definition API.
using ChartForgeX.Core;
using ChartForgeX.Data;
var samples = ChartDataset<Sample>.From(new[] {
new Sample(1, 32),
new Sample(2, 48),
new Sample(3, 61)
});
var chart = Chart.Create()
.WithTitle("CPU")
.WithYAxis("Percent")
.ConfigureYAxis(axis => axis.WithBounds(0, 100))
.AddLine("CPU", samples, sample => sample.Index, sample => sample.Value);
chart.SavePng("cpu.png");
chart.SaveSvg("cpu.svg");
record Sample(double Index, double Value);
ChartAxis centralizes bounds, ticks, labels, and Linear, Logarithmic, SymmetricLogarithmic, or Time scaling. Direct helpers such as ChartPoints.FromValues(...) remain available for small inline datasets.
Output API
| Need | Use |
|---|---|
| SVG markup | chart.ToSvg() or chart.SaveSvg("chart.svg") |
| Static HTML | chart.ToHtmlFragment(), chart.ToHtmlPage(), or chart.SaveHtml("chart.html") |
| Interactive topology HTML | topology.ToInteractiveHtmlFragment(), topology.ToInteractiveHtmlPage(), or topology.SaveInteractiveHtml("topology.html") from ChartForgeX.Interactivity.Html |
| Interactive relationship graph | graph.ToGraphExplorerHtmlFragment(), graph.ToGraphExplorerHtmlPage(), premium system/light/dark themes, accessible keyboard navigation, SVG/Canvas/WebGL backends, worker physics, direct hierarchy navigation, static stage images, and GraphScenePatch |
| PNG bytes/file | chart.ToPng() or chart.SavePng("chart.png") |
| GIF, JPEG, and raster file output | chart.Save("chart.gif"), chart.Save("chart.jpg", rasterOptions), chart.SaveRasterImage("chart.tiff"), or ImageComposition.FromFile("wallpaper.jpg").Save("wallpaper-output.gif") |
| Reusable image composition | ImageComposition.TryFromBytes(bytes, out var composition), composition.StrokeRectangle(...), composition.DrawCallout(...), composition.Write(stream, RasterImageFormat.Png), or composition.Save(path, RasterImageFormat.Gif) |
| Extension-inferred file output | chart.Save("chart.svg"), chart.Save("chart.html"), chart.Save("chart.png"), chart.Save("chart.gif"), chart.Save("chart.jpg"), chart.Save("chart.tiff") |
RasterImageOptions controls JPEG quality, PNG compression level, and the flattening background for opaque formats.
Links
- Repository: https://github.com/EvotecIT/ChartForgeX
- Documentation and examples: https://chartforgex.evotec.xyz/
- Issues: https://github.com/EvotecIT/ChartForgeX/issues
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (5)
Showing the top 5 NuGet packages that depend on ChartForgeX:
| Package | Downloads |
|---|---|
|
HtmlTinkerX
Package Description |
|
|
ChartForgeX.Interactivity.Html
Self-contained HTML, SVG, and graph explorer interaction adapter for ChartForgeX charts and graph scenes. |
|
|
ChartForgeX.Markup
Markdown-friendly ChartForgeX markup parser and code emitter for charts and topology diagrams. |
|
|
HtmlForgeX.ChartForgeX
Optional ChartForgeX integration for HtmlForgeX. Embeds ChartForgeX charts, visual grids, visual blocks, visual canvases, and topology diagrams as typed HtmlForgeX elements. |
|
|
ChartForgeX.Mermaid
Native Mermaid compatibility parsing foundations for ChartForgeX visual artifact pipelines. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Preview release of dependency-free SVG, HTML, PNG, GIF, JPEG, BMP, PPM, and baseline TIFF rendering for charts, visual blocks, report tables, metric cards, visual grids, wallpapers, and topology diagrams. Includes shared raster buffers, stream/file/byte-array raster export helpers, reusable image composition with explicit stream/file output, non-throwing image loaders, annotation lines and callouts, PNG compression options, static HTML grids and mosaic panel spans, expressive themes, dashboard presets, brand kits, font stacks, palettes, role-based text, grid headers, per-series and point-level data-label styling, point callouts, per-series legend visibility, semantic series roles, pictorial symbols, Isotype and people-infographic galleries, dashboard and word-cloud galleries, sunburst, pictorial, progress-bar, hexbin heatmap, reusable heatmap row models, wrapped/customizable pictorial symbols, custom donut center text/ring thickness, KPI rings, legend placement controls, pasted hex palettes, shared SVG/PNG compact number formatting, scoped inline SVG IDs, Native AOT validation, and fail-fast validation for specialized chart/topology data.



