React Funnel - Relocate the Legend
The legend can be aligned in the horizontal or vertical direction using the horizontalAlignment or verticalAlignment property.
App.js
- import React from 'react';
- import Funnel, { Legend } from 'devextreme-react/funnel';
- class App extends React.Component {
- render() {
- return (
- <Funnel ... >
- <Legend
- horizontalAlignment="center" {/* or "left" | "right" */}
- verticalAlignment="top" {/* or "bottom" */}
- />
- </Funnel>
- );
- }
- }
- export default App;
Below, you can try out these properties in action.
Embedded applications are not available for the selected DevExtreme version (v21.1).
We recommend that you upgrade to the most recent version of DevExtreme to access the latest features, bug fixes, and security updates.