ComposeCategorylink
Helper function. Used internally.
Declaration
protected Func<TItem, double> ComposeCategory(ScaleBase scale)
Parameters
Returns
ComposeValuelink
Helper function. Used internally.
Declaration
protected Func<TItem, double> ComposeValue(ScaleBase scale)
Parameters
Returns
Declaration
public virtual bool Contains(double x, double y, double tolerance)
Parameters
Returns
Declaration
public virtual ValueTuple<object, Point> DataAt(double x, double y)
Parameters
Returns
Declaration
public void Dispose()
GetCategorieslink
Returns the category values
Declaration
protected virtual IList<object> GetCategories()
Returns
GetDataLabelslink
Declaration
public virtual IEnumerable<Rendering.ChartDataLabel> GetDataLabels(double offsetX, double offsetY)
Parameters
Returns
Declaration
public double GetMean()
Returns
GetMedianlink
Declaration
public double GetMedian()
Returns
Declaration
public double GetMode()
Returns
GetRawValueGetterlink
Creates a function that returns the raw object value of the ValueProperty (before conversion to double). Used to detect null values in nullable numeric properties.
Declaration
protected Func<TItem, object> GetRawValueGetter()
Returns
Declaration
public string GetTitle()
Returns
GetTooltipPositionlink
Declaration
public Point GetTooltipPosition(object data)
Parameters
Returns
https://en.wikipedia.org/wiki/Simple_linear_regression#Fitting_the_regression_line
Declaration
public ValueTuple<double, double> GetTrend()
Returns
Initializelink
Declaration
protected override void Initialize()
InsidePolygonlink
Determines if the provided point is inside the provided polygon.
Declaration
protected bool InsidePolygon(Point point, Point[] polygon)
Parameters
Returns
InvokeClicklink
Declaration
public Task InvokeClick(EventCallback<SeriesClickEventArgs> handler, object data)
Parameters
Returns
Determines whether the property with the specified name is DateTime
Declaration
protected bool IsDate(string propertyName)
Parameters
Returns
IsNumericlink
Determines whether the property with the specified name is numeric.
Declaration
protected bool IsNumeric(string propertyName)
Parameters
Returns
IsValueNullablelink
Returns true if the ValueProperty type is nullable.
Declaration
protected bool IsValueNullable()
Returns
MeasureLegendlink
Declaration
public virtual double MeasureLegend()
Returns
PickColorlink
Returns a color from the specified list of colors. Rotates colors.
Declaration
protected string PickColor(int index, IEnumerable<string> colors, string defaultValue, IList<SeriesColorRange> colorRange, double value)
Parameters
Returns
Declaration
public abstract RenderFragment Render(ScaleBase categoryScale, ScaleBase valueScale)
Parameters
Returns
RenderLegendItemlink
Declaration
public virtual RenderFragment RenderLegendItem()
Returns
RenderLegendItemlink
Declaration
protected virtual RenderFragment RenderLegendItem(bool clickable)
Parameters
Returns
RenderOverlayslink
Declaration
public RenderFragment RenderOverlays(ScaleBase categoryScale, ScaleBase valueScale)
Parameters
Returns
RenderSharedTooltipItemlink
Declaration
public virtual RenderFragment RenderSharedTooltipItem(object category)
Parameters
Returns
RenderTooltiplink
Declaration
public virtual RenderFragment RenderTooltip(object data)
Parameters
Returns
RequireChartlink
Returns the parent RadzenChart instance or throws an InvalidOperationException if not present.
Declaration
protected RadzenChart RequireChart()
Returns
SetParametersAsynclink
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Returns
TooltipClasslink
Gets the tooltip CSS class.
Declaration
protected virtual string TooltipClass(TItem item)
Parameters
Returns
TooltipLabellink
Gets the label of the tooltip displayed for this item.
Declaration
protected virtual string TooltipLabel(TItem item)
Parameters
Returns
TooltipStylelink
Gets the tooltip inline style.
Declaration
protected virtual string TooltipStyle(TItem item)
Parameters
Returns
TooltipTitlelink
Gets the title of the tooltip displayed for this item.
Declaration
protected virtual string TooltipTitle(TItem item)
Parameters
Returns
TooltipValuelink
Gets the value of the tooltip displayed for this item.
Declaration
protected virtual string TooltipValue(TItem item)
Parameters
Returns
TransformCategoryScalelink
Declaration
public virtual ScaleBase TransformCategoryScale(ScaleBase scale)
Parameters
Returns
TransformValueScalelink
Declaration
public virtual ScaleBase TransformValueScale(ScaleBase scale)
Parameters
Returns