Skip to content
ChartForgeX

Bullet examples in C#

Bullet examples rendered by ChartForgeX: a live chart, variants in light and dark themes, the C# source and the options to configure it.

All charts Progress and targetsBullet

Reviewed work against its targets

The interactive HTML page ChartForgeX writes for this chart. Hover for values, click legend items to hide or show series, use the keyboard to navigate, and right-click for export and reset. Where the chart can redraw a zoomed range, use the wheel to zoom, choose Pan to move the window, or choose Brush and drag to zoom to a range.

Build it in C#

This is the code for the chart above. Show setup adds the imports before it and the few lines that write SVG, PNG and HTML after it, so it reads as one program; the download is the complete console program, ready to run with the ChartForgeX package.

C# Program.cs Download
Loading source…

Variants

Options

Set these on chart.ConfigureBullet(options => …). The full list is on the ChartBulletOptions reference page.

OptionWhat it does
OrientationGets or sets track direction. Horizontal increases to the right; vertical increases upward before axis reversal.
IndependentAxesGets or sets whether every row uses its authored reading domain and optional local axis. False retains the shared displayed axis.