File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ _config1.Data.Datasets.Add(new Dataset()
105105
106106The result of the code above is this chart
107107
108- ![ image] ( https://user-images.githubusercontent.com/9497415/145194274-63997957-82ab-4b38-a2bf-bdd748c2b005 .png )
108+ ![ image] ( https://user-images.githubusercontent.com/9497415/196674629-baaa69d2-24ab-484c-b35e-597cdd2b961c .png )
109109
110110## Implemented charts
111111- [x] Bar chart
Original file line number Diff line number Diff line change 1- using System ;
2- using System . Collections . Generic ;
3- using System . Linq ;
4- using System . Text ;
5- using System . Threading . Tasks ;
6-
7- namespace PSC . Blazor . Components . Chartjs . Models . Common
1+ namespace PSC . Blazor . Components . Chartjs . Models . Common
82{
93 /// <summary>
104 /// Hover Context
Original file line number Diff line number Diff line change 11using Microsoft . AspNetCore . Components . Web ;
22using System . Threading . Tasks ;
3+ using Microsoft . AspNetCore . Components . Web ;
34
45namespace PSC . Blazor . Components . Chartjs . Models . Common
56{
@@ -106,5 +107,8 @@ public class Options : IOptions
106107 [ JsonPropertyName ( "scales" ) ]
107108 [ JsonIgnore ( Condition = JsonIgnoreCondition . WhenWritingNull ) ]
108109 public Dictionary < string , Axis > Scales { get ; set ; }
110+
111+ [ JsonIgnore ]
112+ public Func < MouseEventArgs , ValueTask > ? OnMouseOutAsync { get ; set ; }
109113 }
110114}
You can’t perform that action at this time.
0 commit comments