Problems with chart animations

Posted by: info on 22 November 2022, 4:59 am EST

  • Posted 22 November 2022, 4:59 am EST

    If I limit script loading with the command:

    The animations on the charts no longer work.

    Es.

    <c1-flex-chart binding-x="Identifier" chart-type="LineSymbols" legend-position="Bottom" class="w-100">
                                    <c1-items-source source-collection="Model.FatturatoAnnuale?.FatturatoMensile"></c1-items-source>
                                    <c1-flex-chart-series binding="Fatturato[0]" name="@($"{DateTime.Now.AddYears(-3):yyyy}")">
                                    </c1-flex-chart-series>
                                    <c1-flex-chart-series binding="Fatturato[1]" name="@($"{DateTime.Now.AddYears(-2):yyyy}")">
                                    </c1-flex-chart-series>
                                    <c1-flex-chart-series binding="Fatturato[2]" name="@($"{DateTime.Now.AddYears(-1):yyyy}")">
                                    </c1-flex-chart-series>
                                    <c1-flex-chart-series binding="Fatturato[3]" name="@($"{DateTime.Now:yyyy}")">
                                    </c1-flex-chart-series>
                                    <c1-flex-chart-tooltip content="<b>{x}</b><br>{FatturatoTooltip}" is-content-html="true"></c1-flex-chart-tooltip>
                                    <c1-chart-animation animation-mode="All" easing="EaseInBack" duration="500" axis-animation="true"></c1-chart-animation>
                                </c1-flex-chart>

    How can I fix?

    Thanks, Marco

  • Posted 22 November 2022, 8:32 am EST

    Hi Macro,

    We are sorry, but we are unable to replicate the issue at our end with the attached sample. Please modify the demo sample depicting your issue.

    Regards,

    Manish Gupta

    FlexChart__Animation.zip

  • Posted 4 December 2022, 7:17 am EST - Updated 4 December 2022, 7:22 am EST

    Hi Manish,

    I am attaching the modified project that demonstrates the error.

    The only change I made is shown in the photo.

    Regards, Marco

    FlexChart__Animation.zip

  • Posted 5 December 2022, 3:18 am EST

    Hi,

    We are sorry for the inconvenience and thank you for reporting the issue. We are able to replicate the issue at our end and we have forwarded this issue to the concerned team with the internal tracking id C1Web-29296.

    We will let you know as we get an update on this.

    In the meantime, please do not specify the bundles for c1-basic-scripts tag.

    Regards,

    Manish Gupta

  • Posted 29 December 2022, 8:09 am EST

    Hi,

    Please use the following code for the same:

    <c1-scripts>
            <c1-basic-scripts bundles="Animation" />
    </c1-scripts>

    Hope it helps!

    Regards,

    Manish gupta

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels