Skip to content

Releases: ipax77/pax.BlazorChartJs

v0.9.1

14 Jun 05:42

Choose a tag to compare

What's Changed

  • Add animation control and update version in ChartJsInterop by @ipax77 in #45

Full Changelog: v0.9.0...v0.9.1

v0.9.0

27 May 06:04

Choose a tag to compare

v0.9.0-preview2

22 May 15:17

Choose a tag to compare

v0.9.0-preview2 Pre-release
Pre-release

v0.9.0-preview

21 May 09:27

Choose a tag to compare

v0.9.0-preview Pre-release
Pre-release
  • Added ChartJsFunction to reference registered JavaScript callbacks from C# chart configuration without serializing raw JavaScript.
  • Added callback module configuration and marker revival for chart initialization, option updates, and dataset add/update/set interop calls.
  • Added scriptable callback support for datalabel formatters, axis ticks, tooltip callbacks, legend callbacks, and indexable color options.
  • Expanded IndexableOption<T> to support single values, indexed values, and ChartJsFunction callback values.
  • Expanded Padding to support Chart.js numeric padding, {x, y} shorthand padding, and scriptable padding callbacks while preserving existing Padding? property types.
  • Added a scriptable padding sample with a sample-only Latest label plugin.
  • Hardened callback resolution with flat JavaScript identifier validation and reserved-name checks.
  • Updated sample callback charts to use a shared chartJsCallbacks.js callback registry.
  • Added missing global/core Chart.js options to ChartJsOptions: BackgroundColor, BorderColor, Clip, Color, Datasets, Font, Hover, HoverBackgroundColor, HoverBorderColor, Normalized, OnClick, OnHover, and OnResize.
  • Added ChartJsSetupOptions.Defaults / ChartJsDefaultsOptions to configure app-wide Chart.defaults values through AddChartJs(...).
  • Added ChartJsOptionsDatasets for options.datasets and Chart.defaults.datasets chart-type defaults.
  • Chart.js native OnClick, OnHover, and OnResize callbacks are preserved when the Blazor/C# event bridge flags are enabled.
  • Added ChartJsConfig.SetDatasetsSmooth(...) to add, update, remove, and reorder datasets by id in one smooth batched chart update, with optional labels and current options update.

v0.8.8

18 May 17:41
df33c68

Choose a tag to compare

What's Changed

  • Fix add dataset disposal handling by @ipax77 in #43

Full Changelog: v0.8.7...v0.8.8

v0.8.7

03 May 09:02
74fcd3a

Choose a tag to compare

What's Changed

  • Enhance chart initialization and event handling by @ipax77 in #41
  • update Microsoft.TypeScript.MSBuild to v6.0.3 by @ipax77 in #42

Full Changelog: v0.8.6...v0.8.7

v0.8.6

21 Mar 08:53

Choose a tag to compare

What's Changed

Full Changelog: v0.8.5...v0.8.6

v0.8.5

19 Oct 08:42

Choose a tag to compare

Full Changelog: v0.8.4...v0.8.5

v0.8.4

27 Aug 07:42
01926f7

Choose a tag to compare

What's Changed

  • update dotnet v8.0.8, chartjs v4.4.4 tests by @ipax77 in #37

Full Changelog: v0.8.3...v0.8.4

v0.8.3

04 Mar 16:09

Choose a tag to compare

What's Changed

  • Microsoft.AspNetCore.Components.Web v8.0.2
  • Added ChartJsConfig.UpdateDatasetsSmooth updates the ChartJs dataset(s), instead of replacing.
  • Added BlazorLegendBase that can be used for a ChartJs Html Legend - [Sample][https://ipax77.github.io/pax.BlazorChartJs/htmllegendchart]
  • Added ChartComponent.GetLegendItems()
  • Added ChartComponent.IsDatasetVisible(int datasetIndex)
  • Added ChartComponent.SetDatasetPointsActive(int datasetIndex)
  • BarDataset.BarPercentage changed from int? to double?
  • Renamed Layout to ChartJsLayout (CA1724)
  • IndexableOption now supports Collection Expressions e.g.
    BorderColor = ["rgba(255, 99, 132, 1)", "rgba(54, 162, 235, 1)"],
    BorderWidth = [1, 2]
  • ChartJs v4.4.2 Tests
  • Blazor App sample