Skip to content
Peter Gill edited this page Jun 7, 2026 · 1 revision

Charts

Majorsilence Reporting supports embedded charts inside reports. A chart is bound to a report dataset and renders inline as part of the report page.

Inserting a chart

  1. Open the report in the designer.
  2. Right-click the report body and choose Insert → Chart.
  3. The chart wizard opens. Select a chart type and click Next.
  4. Select the dataset the chart will read from.
  5. Map dataset fields to Category (X axis), Value (Y axis), and optionally Series (grouping by colour/line).
  6. Click Finish. The chart item appears on the design surface.
  7. Resize and reposition the chart as needed.

Supported chart types

Type Use case
Column Compare discrete categories; bars are vertical
Bar Horizontal version of column chart
Line Show trends over time or continuous data
Area Line chart with filled area below the line
Pie Show proportional breakdown of a whole
Doughnut Pie variant with a hollow centre
Scatter Plot individual data points on X/Y axes
Bubble Scatter with a third value controlling point size

Configuring a chart

Right-click the chart and choose Chart Properties to access:

  • Titles — add a chart title and axis titles
  • Legend — position (top, bottom, left, right) or hide
  • Axes — label format, min/max values, tick marks
  • 3D effects — enable a shallow 3D perspective

Setting a title expression

Chart titles support expressions the same way as text cells:

="Monthly Sales — " & Year({@ExecutionTime})

Formatting axis labels

Set the axis label format in the Y-axis properties using .NET format strings:

C2      →  $1,234.56  (currency)
N0      →  1,235      (integer with thousand separator)
P1      →  42.3%      (percentage)
#,##0   →  custom numeric

Binding a chart to a dataset

A chart's Category, Value, and Series fields all reference dataset fields using standard expression syntax:

Chart role Example expression
Category (X) =Fields!MonthName.Value or {MonthName}
Value (Y) =Sum(Fields!Revenue.Value)
Series (grouping) =Fields!Region.Value

The Value expression is almost always an aggregate (Sum, Count, Avg) because the chart aggregates detail rows into the categories defined by the Category expression.

Multiple series

To plot multiple lines or bar clusters, add additional series items in the chart's Series collection (right-click the chart → Chart Properties → Series tab). Each series can point to a different value expression or use the Series grouping field to split automatically.

Filtering chart data

To show only a subset of the data in the chart without filtering the rest of the report, add a filter to the chart's dataset via Chart Properties → Filters. This leaves the underlying dataset intact for other table items on the same report.

Combining a chart with a table

A common pattern is to place a summary chart at the top of the report and a detail table below it, both bound to the same dataset. The chart shows the high-level picture; the table shows the rows.

Tips

  • Set a fixed Width and Height on the chart item for predictable output; avoid percentage-based sizes when exporting to PDF or TIFF.
  • For pie charts, ensure the category field has low cardinality (< 8 slices); many categories make pie charts unreadable.
  • Line charts work best when the Category field is a date or sequential number and there are 10–200 data points.

Clone this wiki locally