Ticket T1285389
Visible to All Users

Funnel - items not visible when all values are 0

created 4 days ago

Hello,

when all funnel item values are 0 none of the items are shown. Is there a way to force the funnel to render even if all values are 0?
As a workaround we set the values to 0.1 by default which is then rounded to 0 which renders the items. Here we would like to know if it would be possible to then limit the items widths. When all items are "0" they stretch to 100% of the width, which we know is the correct behavior since that is the max value. Would there still be a way to limit the maximum value so 0 values are not that wide?

Answers approved by DevExpress Support

created 4 days ago

Hello Selim,

Unfortunately, there's no built-in way to force the funnel to render when all values are 0. Your workaround with small non-zero values looks valid.

As for reducing the width, dxFunnel doesn't offer a built-in API to control item width directly. As a workaround, you can wrap the component in a <div> container with a fixed width to visually constrain the funnel size.

I hope this helps.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.