You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// If timestamps are provided as X values, those timestamps can be formatted to convert them to date strings.
1107
1114
/// </summary>
1115
+
[JsonConverter(typeof(FunctionStringConverter))]
1108
1116
publicstringDateFormatter{get;set;}
1109
1117
}
1110
1118
@@ -1611,6 +1619,7 @@ public class ToolCustomIcon
1611
1619
/// Javascript function when the icon is clicked
1612
1620
/// if a OnClick callback is registered this will be overwritten.
1613
1621
/// </summary>
1622
+
[JsonConverter(typeof(FunctionStringConverter))]
1614
1623
publicstringClick{get;set;}
1615
1624
1616
1625
/// <summary>
@@ -1768,6 +1777,7 @@ public class DataLabels
1768
1777
///
1769
1778
/// In the code above, seriesIndex is useful in multi-series chart, while dataPointIndex is the index of data-point in that series. w is an object consisting all globals and configuration which can be utilized the way mentioned in the above code.
1770
1779
/// </summary>
1780
+
[JsonConverter(typeof(FunctionStringConverter))]
1771
1781
publicstringFormatter{get;set;}
1772
1782
}
1773
1783
@@ -2262,6 +2272,7 @@ public class Legend
2262
2272
/// },
2263
2273
/// </code>
2264
2274
/// </summary>
2275
+
[JsonConverter(typeof(FunctionStringConverter))]
2265
2276
publicstringFormatter{get;set;}
2266
2277
2267
2278
/// <summary>
@@ -2278,6 +2289,7 @@ public class Legend
2278
2289
/// <remarks>
2279
2290
/// Note: This feature is only available in shared tooltips (when you have <see cref="Tooltip.Shared"/>: <see langword="true"/>).
2280
2291
/// </remarks>
2292
+
[JsonConverter(typeof(FunctionStringConverter))]
2281
2293
publicstringTooltipHoverFormatter{get;set;}
2282
2294
2283
2295
/// <summary>
@@ -2391,6 +2403,7 @@ public class LegendMarkers
2391
2403
/// }
2392
2404
/// </code>
2393
2405
/// </summary>
2406
+
[JsonConverter(typeof(FunctionStringConverter))]
2394
2407
publicstringCustomHTML{get;set;}
2395
2408
}
2396
2409
@@ -2915,6 +2928,7 @@ public class BarTotalDataLabels
2915
2928
/// <summary>
2916
2929
/// Applies a custom function for the total value. The function accepts 2 params where the 1st one is the value while the 2nd one is the config object.
2917
2930
/// </summary>
2931
+
[JsonConverter(typeof(FunctionStringConverter))]
2918
2932
publicstringFormatter{get;set;}
2919
2933
2920
2934
/// <summary>
@@ -3284,6 +3298,7 @@ public class DonutLabelName
3284
3298
/// <summary>
3285
3299
/// A custom formatter function to apply on the name text in dataLabel
3286
3300
/// </summary>
3301
+
[JsonConverter(typeof(FunctionStringConverter))]
3287
3302
publicstringFormatter{get;set;}
3288
3303
}
3289
3304
@@ -3330,6 +3345,7 @@ public class DonutLabelTotal
3330
3345
/// <summary>
3331
3346
/// A custom formatter function to apply on the total value. It accepts one parameter w which contains the chart's config and global objects. Defaults to a total of all series percentage divided by the length of series.
3332
3347
/// </summary>
3348
+
[JsonConverter(typeof(FunctionStringConverter))]
3333
3349
publicstringFormatter{get;set;}
3334
3350
}
3335
3351
@@ -3371,6 +3387,7 @@ public class DonutLabelValue
3371
3387
/// <summary>
3372
3388
/// A custom formatter function to apply on the value label in dataLabel
3373
3389
/// </summary>
3390
+
[JsonConverter(typeof(FunctionStringConverter))]
3374
3391
publicstringFormatter{get;set;}
3375
3392
}
3376
3393
@@ -3634,6 +3651,7 @@ public class RadialBarDataLabelsTotal
3634
3651
/// <summary>
3635
3652
/// A custom formatter function to apply on the total value. It accepts one parameter w which contains the chart's config and global objects. Defaults to a total of all series percentage divided by the length of series.
3636
3653
/// </summary>
3654
+
[JsonConverter(typeof(FunctionStringConverter))]
3637
3655
publicstringFormatter{get;set;}
3638
3656
}
3639
3657
@@ -3670,6 +3688,7 @@ public class RadialBarDataLabelsValue
3670
3688
/// <summary>
3671
3689
/// A custom formatter function to apply on the value label in dataLabel
3672
3690
/// </summary>
3691
+
[JsonConverter(typeof(FunctionStringConverter))]
3673
3692
publicstringFormatter{get;set;}
3674
3693
3675
3694
/// <summary>
@@ -4152,6 +4171,7 @@ public class Tooltip
4152
4171
/// <summary>
4153
4172
/// Draw a custom html tooltip instead of the default one based on the values provided in the function arguments.
/// A custom formatter function which you can override and display according to your needs (a use case can be a date formatted using complex moment.js functions)
4331
4351
/// </summary>
4352
+
[JsonConverter(typeof(FunctionStringConverter))]
4332
4353
publicstringFormatter{get;set;}
4333
4354
}
4334
4355
@@ -4340,6 +4361,7 @@ public class TooltipYTitle
4340
4361
/// <summary>
4341
4362
/// The series name which appears besides values can be formatted using this function. Default behaviour is (seriesName) => returns seriesName
4342
4363
/// </summary>
4364
+
[JsonConverter(typeof(FunctionStringConverter))]
4343
4365
publicstringFormatter{get;set;}
4344
4366
}
4345
4367
@@ -4367,6 +4389,7 @@ public class TooltipY
4367
4389
/// }
4368
4390
/// </code>
4369
4391
/// </summary>
4392
+
[JsonConverter(typeof(FunctionStringConverter))]
4370
4393
publicstringFormatter{get;set;}
4371
4394
}
4372
4395
@@ -4383,6 +4406,7 @@ public class TooltipZ
4383
4406
/// <summary>
4384
4407
/// To format the z values of a Bubble series, you can use this function.
4385
4408
/// </summary>
4409
+
[JsonConverter(typeof(FunctionStringConverter))]
4386
4410
publicstringFormatter{get;set;}
4387
4411
}
4388
4412
@@ -4833,6 +4857,7 @@ public class XAxisLabels
4833
4857
/// }
4834
4858
/// </code>
4835
4859
/// </summary>
4860
+
[JsonConverter(typeof(FunctionStringConverter))]
4836
4861
publicstringFormatter{get;set;}
4837
4862
4838
4863
/// <summary>
@@ -4914,6 +4939,7 @@ public class YAxisLabels
4914
4939
/// <remarks>
4915
4940
/// Note: In horizantal bar charts, the second parameters also contains additional data like dataPointIndex & seriesIndex.
0 commit comments