Chart Split Type "Template" Breaks Chart

Kaede HollandKaede Holland ✭✭
edited June 25 in Problems
The charts I've built that use a Template as the split type have stopped working. Where the series split values would typically show up in the legend, there is just a "Loading..." message and the split isn't happening. If I switch the split type back to "field" it works fine, but then we get the not-so-atheistically-pleasing (SUM) after all of the values. 

I have so many charts on so many pages, and I always split by template because it looks better in the legend. Would love to figure out how to fix this without having to change all of the charts. 


image
image

Comments

  • Pat VachonPat Vachon ✭✭
    edited June 25
    Hmmm ... is the field in the model? Have you tried triple curly braces?
  • Kaede HollandKaede Holland ✭✭
    edited June 25
    The field is in the model. Triple curly braces almost work! But then they get wonky when there are characters like forward slashes in the data. 

    image

  • Pat VachonPat Vachon ✭✭
    edited April 2018
    Whoa!!! That makes no sense.

    I've been getting odd chart behaviour as of late. Change it back to double braces and try again.

    I've also rebuilt charts to discover doing so fixed them. No difference in the builder UI that I could notice. Didn't review XML, but I suspect some rogue property in it was causing the issue.
  • Kaede HollandKaede Holland ✭✭
    edited April 2018
    Tried rebuilding the chart from scratch - same issues. I'm also having a lot of chart problems. Chart height property not being respected, causing the charts to overlap onto other components. :face palm:
  • Pat VachonPat Vachon ✭✭
    edited April 2018
    Any characters outside 26 alphabet?
  • Kaede HollandKaede Holland ✭✭
    edited April 2018
    It will render the "-" character, but not "/"
  • Pat VachonPat Vachon ✭✭
    edited April 2018
    So you've an issue with "/"?
  • Kaede HollandKaede Holland ✭✭
    edited April 2018
    That is one issue that I know of. But - changing the name of the stages in our sales process is not a viable workaround. 
  • edited April 2018
    So far we've only seen this happen when custom Javascript is used. Can you copy and paste the XML here for us to take a look at it?
  • Pat VachonPat Vachon ✭✭
    edited April 2018
    Change it only for use in chart? UI-Only field to convert offending stage name?
  • Kaede HollandKaede Holland ✭✭
    edited September 2018
    <skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" useviewportmeta="true" showheader="true" theme="C5Lightning">
        <models>
            <model limit="20" query="true" createrowifnonefound="false" datasource="salesforce" id="opps" sobject="Opportunity">
                <fields>
                    <field id="RecordTypeId"/>
                    <field id="Amount"/>
                    <field id="CloseDate"/>
                    <field id="StageName"/>
                </fields>
                <conditions/>
                <actions/>
            </model>
        </models>
        <components>
            <skuidvis__chart model="opps" maintitle="{{Model.labelPlural}}" type="column" uniqueid="sk-1C90-337" height="200px">
                <dataaxes>
                    <axis id="axis1"/>
                </dataaxes>
                <categoryaxes>
                    <axis id="categories" categorytype="field" field="CloseDate" fillvals="true" dategranularity="calquarter"/>
                </categoryaxes>
                <serieslist>
                    <series valuefield="Amount" splittype="template" aggfunction="sum" splittemplate="{{StageName}}"/>
                </serieslist>
                <colors/>
                <legend layout="vertical" halign="left" valign="bottom"/>
            </skuidvis__chart>
            <skootable showconditions="true" showsavecancel="false" showerrorsinline="true" searchmethod="server" searchbox="true" showexportbuttons="false" hideheader="false" hidefooter="false" pagesize="10" alwaysresetpagination="false" createrecords="false" model="opps" buttonposition="" mode="readonly" allowcolumnreordering="false" responsive="false" uniqueid="sk-2h9J-272">
                <fields>
                    <field id="Amount" hideable="true" uniqueid="fi-2h9J-293"/>
                    <field id="CloseDate" hideable="true" uniqueid="fi-2h9J-294"/>
                </fields>
                <rowactions/>
                <massactions usefirstitemasdefault="true"/>
                <views>
                    <view type="standard"/>
                </views>
            </skootable>
        </components>
        <resources>
            <labels/>
            <javascript/>
            <css/>
            <actionsequences uniqueid="sk-1C90-299"/>
        </resources>
        <styles>
            <styleitem type="background" bgtype="none"/>
        </styles>
    </skuidpage>
  • Kaede HollandKaede Holland ✭✭
    edited April 2018
    This is just one instance of 50+ charts where the issue is happening. I don't think I can go that route.
  • edited April 2018
    This is most certainly not expected behavior.
  • edited April 2018
    Thank you for bringing this to our attention. It appears there's an issue in how we are loading charts when template is used. I am logging this as a known issue in our tracking system so I will archive this ticket here. There is not a target date for getting this issue addressed yet but our devs are aware of it. 
  • edited June 2018

    Hello Skuid Community ~

    This has been addressed in the new Millau 11.1.14 release which is now available on the Skuid Releases page.

    As a reminder, Salesforce does NOT allow reverting back to prior versions of managed packages. Skuid always recommends installing new versions in a non-business critical sandbox environment to test all mission critical functionality before installing into a production environment. We also recommend that you update out of date themes when you upgrade.

Sign In or Register to comment.