DevExtreme React - Overview

The legend is a component that helps a user identify funnel items. The legend contains several items, one per funnel item, each consisting of a colored marker and text showing the funnel item's argument.

Funnel Legend

Options that configure the legend's appearance, location, and content are collected in the legend object. To make the legend visible, set the legend.visible option to true.

jQuery
JavaScript
$(function() {
    $("#funnelContainer").dxFunnel({
        // ...
        legend: {
            visible: true
        }
    });
});
Angular
HTML
TypeScript
<dx-funnel ... >
    <dxo-legend [visible]="true"></dxo-legend>
</dx-funnel>
import { DxFunnelModule } from "devextreme-angular";
// ...
export class AppComponent {
    // ...
}
@NgModule({
    imports: [
        // ...
        DxFunnelModule
    ],
    // ...
})
See Also