Bug Report T956425
Visible to All Users

Chart - Bars are displayed as thin lines under certain conditions

created 4 years ago (modified 4 years ago)

Struggling to set BarWidth to the width I want in an second pane.
Is this the same issue?
https://supportcenter.devexpress.com/ticket/details/t811576
Should it be fixed in latest version 20.2.4 ? Don't work in my project.

Attached image shows barwidth in second pane in my project. I want to set the BarWidth wider, but they show up like below, 1px wide no matter what i do.
Clipboard-File-1.png

Show previous comments (2)
DevExpress Support Team 4 years ago

    Hi Geir,
    To diagnose the issue, I need to test your configuration in a sample project.
    I'm not sure how to restore your data from an XML file. Would you please convert it in JSON or share server-side code that parses it in .NET objects?

    GV GV
    Geir Villmones 1 4 years ago

      Could you answer if the fix described in this ticket https://supportcenter.devexpress.com/ticket/details/t811576 is part of version 20.2.4 ?

      I have attached the data in Json format.

      DevExpress Support Team 4 years ago

        Hello Geir,

        We reproduced the issue: CodePen.
        The issue from the ticket T811576 looks similar but it is not related to the issue in your Chart.

        Despite the fact that your chart has multiple panes, it has only one argument axis. We calculate a minimal interval for this axis based on data of all chart series and bars. Since there are series with a minimum spread of data, which is less than a minute, the chart takes this interval and applies it to the bars. This is done so that the bars do not overlap. So, your bars are displayed as thin lines.

        We don't have a solution for this scenario and need additional time to research it to find a suitable one.

        As a workaround, I suggest you change your chart type to "area" or "line":

        C#
        s.Add().ValueField("SumDeliveredTotalizerHours") .Pane("Delivered") .Name("Levert siste time") .ArgumentField("ToHour") .Type(SeriesType.Line) .BarWidth(40) .BarOverlapGroup("ToHour");

        P.S. Would you mind if I mark this ticket public so that other customers can find it?

        Answers approved by DevExpress Support

        created 4 years ago

        We have addressed the issue described in this ticket and will include a fix in our next maintenance update. Should you need to apply our fix prior to official release, you can request a hotfix here.

        Note: Hotfixes may be unavailable for betas/updates set for release within a week.

          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.