Back to Devexpress

SankeyBuilder.PaletteExtensionMode(VizPaletteExtensionMode) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-sankeybuilder-dot-paletteextensionmode-x28-devextreme-dot-aspnet-dot-mvc-dot-vizpaletteextensionmode-x29.md

latest1.4 KB
Original Source

SankeyBuilder.PaletteExtensionMode(VizPaletteExtensionMode) Method

Specifies how to extend the palette when it contains less colors than the number of sankey nodes. Mirrors the client-side paletteExtensionMode option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public SankeyBuilder PaletteExtensionMode(
    VizPaletteExtensionMode value
)

Parameters

NameTypeDescription
valueVizPaletteExtensionMode

The option value.

|

Returns

TypeDescription
SankeyBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().Sankey()
    .PaletteExtensionMode(VizPaletteExtensionMode.Alternate)
)

See Also

SankeyBuilder Class

SankeyBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace