Illustration of a large monitor showing a bar and line chart, flanked by panels with pie, donut, line and heatmap charts

We spend a lot of time in organisations where K2 runs the business. Compliance workflows, operational approvals, assurance processes and case management all live there, and people depend on them every day.

That is why we think insight belongs where the work happens. Chart controls built with the K2 JavaScript Custom Control Framework are one of the main ways we help clients get more from the data their processes already collect.

Automation is only half the story

Most organisations are good at capturing data in K2. Forms get filled in, workflows move, and SmartObjects store everything neatly.

The gap we keep seeing is that the people making decisions don’t see the story behind that data until it’s too late. Exported reports, separate BI tools and month-end dashboards all have their place, but they sit apart from the moment someone approves a request or signs off a review.

Our answer is to bring the insight into the SmartForm itself.

Six K2 chart controls: horizontal and vertical bar charts, a stacked area chart, a floating bar chart, a stacked column chart and a single-series area chart
Bar, column, stacked, floating and area charts, each a K2 control.

Charts that behave like K2 controls

We build each chart as a proper K2 control using the JavaScript Custom Control Framework. There are no iframes and no fragile snippets of script pasted into a form. The controls:

  • Drop onto a SmartForm like any other control.
  • Bind directly to SmartObjects and workflow context.
  • Respect K2 rules, visibility and state.
  • Can be reused across many applications.
  • Are versioned, governed and supported like the rest of the platform.

Underneath, we usually use a proven library such as Chart.js. The library matters less than the engineering pattern around it, which is what makes the controls safe to use across an estate.

Scatter, bubble and radar chart controls, the radar comparing two teams on speed, quality, communication, reliability, technical skills and problem solving
Scatter, bubble and radar charts for comparing values and teams.
Three gauge controls showing 75 per cent as a full circle, semicircle and arc, above three KPI cards for revenue against target, a value with a sparkline and a percentage change
Gauges and KPI cards for targets and headline figures.

Built for regulated environments

Much of our work is in regulated sectors: government, defence-aligned organisations and critical infrastructure. That shapes how we design the controls. They:

  • Stay inside K2’s security and data boundaries.
  • Avoid copying data out or calling external services.
  • Retrieve only the data they need.
  • Can be reviewed, tested and promoted through environments like any other release.

You get visual insight with the governance your auditors expect.

Two funnel charts showing conversion from website visits to paid customers and from leads to closed deals, and a waterfall chart from an opening to a closing balance
Funnels for stage-by-stage drop-off, and a waterfall for movements in a balance.
A treemap of regional values, a heatmap of regions by quarter, and bullet charts for revenue, profit, orders and satisfaction against targets
Treemap, heatmap and bullet charts.

One control, configured with JSON

Building a separate control for every scenario doesn’t scale. Instead, each chart is driven by a JSON configuration that sets:

  • The chart type: bar, line, pie, stacked and so on.
  • How datasets map to SmartObject properties.
  • Labels, thresholds and targets.
  • Conditional formatting and highlights.
  • Drill-through to other forms or views.

One well-built control can then serve dozens of applications while each one still looks tailored. For centres of excellence, that means consistency without slowing teams down.

Status cards in list and grid layouts with success, warning and error labels and progress bars, alongside a box plot by quarter
Status cards in list or grid layout, and a box plot for spread by quarter.
A pie chart of traffic by device, a line chart and a stepped line chart of monthly values
Pie, line and stepped line charts from the same control.
The same monthly data as stepped, smooth and monotone lines, a multi-series line chart by device, and a dual-axis chart of revenue and customers
Line styles, multiple series and a second y-axis are all configuration settings.

Decision support, built in

Charts aren’t there to make SmartForms look nicer. They’re there to:

  • Reduce the effort needed to understand a situation.
  • Make risk visible earlier.
  • Help people act with confidence.
  • Shorten the time between seeing a problem and dealing with it.

In practice, that might be a live workload chart on an approval form, a compliance trend shown during a review, or a backlog spike flagged before it becomes a problem. Small additions like these turn K2 applications from transactional tools into ones that support decisions.

A Sankey diagram splitting a budget into staff costs and systems, a UK regional map shaded by value, and a decomposition tree breaking total revenue into products and services
Sankey diagram, UK regional map and decomposition tree for more complex breakdowns.

Part of a wider approach

The chart controls follow the same principles as the rest of our K2 work:

  • Build once and reuse everywhere.
  • Extend K2 in the way it was designed to be extended.
  • Bring proper engineering discipline to low-code platforms.
  • Align the user experience with standards such as GDS where it fits.
  • Leave internal teams able to run things themselves, with no lock-in.

Whether we are delivering a full solution or helping an organisation build its own K2 capability, these patterns raise quality and confidence.

The short version

K2 already runs the processes your organisation depends on. With chart controls, the same applications can show people what they need to know at the moment they need it, while staying governed, secure and ready to scale.