ChartView brings business dashboards, scientific visualisations and live data displays to your Objo projects. Written entirely in Objo, it combines a wide range of chart types with interactive exploration, flexible styling and report-ready exports, with no plugins or external dependencies.
Display sales figures, explore engineering measurements, monitor a live feed or turn a grid of values into a shaded 3D surface. The same class handles drawing, interaction and presentation.
- Charts for a wide range of data. Choose from bars, lines, areas, pies, doughnuts, radar, scatter and bubble charts, alongside heatmaps, funnels, pyramids, Pareto, candlestick, HLOC and Gantt charts. Waterfalls, histograms, box plots, gauges, treemaps and 3D surfaces extend the collection, with stacked, percentage and other variants available.
- Interactive 3D surfaces. Turn rows and columns of values into a shaded surface with a value axis and colour scale. Drag to rotate and tilt, use the mouse wheel to zoom, Shift-drag to pan and double-click to restore the full view. Hover to inspect values or respond to clicks in your application. Adjust the height, viewing angles, mesh lines and depth-axis title.
- Flexible colour scales. Give heatmaps and surfaces one of eight built-in palettes, including Viridis, Plasma, CoolWarm, Terrain and Greyscale. Define your own scale with any number of colours, or add a middle colour to highlight the transition between low and high values.
- Live data. Append points or category values as they arrive. Keep the newest points, display a moving time window and update charts without replaying their animation.
- Zoom, pan and explore. On XY and time charts, drag to zoom, use the mouse wheel around the pointer or Shift-drag to pan. An optional crosshair snaps to the nearest point and combines values from multiple series in one tooltip.
- Interaction that connects to your app. Respond to clicks on data and labels, add context menus and let users hide or show series through the legend. Persistent selection keeps a chosen bar, point or slice highlighted, ready to drive a detail view.
- Tools for understanding your data. Add target and average lines, linear trends or moving averages. Set fixed axis ranges, use logarithmic Y axes on supported charts and plot
DateTimevalues with automatically chosen time intervals. - Styling to suit your application. Choose flat or modern styling, with rounded bars, gradients, soft shadows, fading areas and a subtle glow beneath lines. Adjust colours, fonts, hover effects, legend placement and animation. Light, dark and system-following themes help charts fit your application, while custom tooltip and axis-label formatters control units, wording and number formats. You can also add a background photograph, texture or logo.
- Ready for reports. Print charts, save PNG images, export crisp vector PDFs or copy charts to the clipboard.
Getting started takes just a few lines:
Var chart As New ChartView
chart.Kind = ChartView.ChartKind.Pareto
chart.Title = "Support tickets by cause"
chart.SetLabels(["Setup", "Login", "Sync", "Export"])
chart.AddSeries("Tickets", [191, 132, 45, 12])
Self.Add(chart)
The Pareto chart sorts the values, calculates the cumulative line and adds the 80% marker automatically.
Start with ChartViewQuickStart for a small introductory example, then explore ChartViewGallery. The gallery displays source code alongside each chart and lets you try styling and interaction options, including the new 3D surface example and colour-scale picker. Property and method descriptions also provide help as you work in Objo Studio.
ChartView includes preview support for Objo web pages, covering tooltips, hover effects, clicks, selection, crosshairs, zoom, themes and live data. The same class file supports desktop and web projects with automatic target detection. The included ChartViewWeb project demonstrates the integration using a standard Canvas to host the chart and forward its events.
ChartView is written and maintained by @madru (Guido). It is free for private, educational and non-commercial use. For a commercial licence, contact Guido by private message on the forum.