Unable to edit category axes under chart properties...

  • 1
  • Problem
  • Updated 4 years ago
  • Solved
I am unable to edit my category axes on charts in Skuid... Am I missing something or is there a bug here?

In the attached picture, I clicked on  "axis 1" and nothing appears in the panel to the right. In the training documents there are inputs for ID, Title, Category Field, and Flipped. I see none of these in my instance.

I tried in Firefox, IE and Chrome. Any advice would be much appreciated. Thanks!

Photo of Ryan Schowalter

Ryan Schowalter

  • 136 Points 100 badge 2x thumb

Posted 4 years ago

  • 1
Photo of J.

J., Official Rep

  • 7,470 Points 5k badge 2x thumb
Ryan,

Are there any errors in your JavaScript console? Would you be alright with pasting your page XML here to help us try to replicate the issue? Thanks.
Photo of Ryan Schowalter

Ryan Schowalter

  • 136 Points 100 badge 2x thumb
Thanks! Not a developer so I am unsure, but here is the XML:

<skuidpage unsavedchangeswarning="yes" showsidebar="true" showheader="true">
   <models>
      <model id="Experience" limit="50000" query="true" createrowifnonefound="false" sobject="Experience__c" doclone="" type="">
         <fields/>
         <conditions/>
         <actions/>
      </model>
      <model id="Engagements" limit="" query="true" createrowifnonefound="false" sobject="Engagement__c" doclone="" type="">
         <fields/>
         <conditions/>
         <actions/>
      </model>
      <model id="TBC_Engagements" limit="" query="true" createrowifnonefound="false" sobject="TBC_Engagement__c" doclone="" type="">
         <fields/>
         <conditions/>
         <actions/>
      </model>
      <model id="Impact" limit="20" query="true" createrowifnonefound="false" sobject="Impact__c">
         <fields>
            <field id="Transformational__c"/>
            <field id="T2__c"/>
            <field id="School_Year__c"/>
            <field id="Target__c"/>
         </fields>
         <conditions/>
         <actions/>
      </model>
   </models>
   <components>
      <tabset rememberlastusertab="true" defertabrendering="true" renderas="">
         <tabs>
            <tab name="TBC Primary Outcomes" icon="ui-silk-chart-organisation">
               <components>
                  <pagetitle model="Experience">
                     <maintitle>TBC Primary Outcomes</maintitle>
                     <subtitle>2015 Short-Term Targets</subtitle>
                     <actions/>
                     <renderconditions logictype="and"/>
                  </pagetitle>
                  <skuidvis__chart model="Experience" maintitle="Transformational Leaders Serving as Senior Leaders in Systems of Schools" type="column" subtitle="TBC Primary Outcome" height="400">
                     <dataaxes>
                        <axis id="Number_of_transformation_leaders" type="yaxis" title="Number of Transformational Leaders" flip="false"/>
                        <axis id="Target" title="Target"/>
                     </dataaxes>
                     <categoryaxes>
                        <axis id="axis1" categorytype="field"/>
                     </categoryaxes>
                     <serieslist>
                        <series splittype="none" modelId="Impact" valuefield="T2__c" aggfunction="count" categoryField="T2__c" categoryAxisId="axis1" splitfield="Transformational__c"/>
                        <series splittype="none" aggfunction="max" modelId="Impact" valuefield="Target__c" type="line" categoryField="T2__c" splitfield="Transformational__c" categoryAxisId="axis1"/>
                     </serieslist>
                     <colors>
                        <value>#ff5722</value>
                        <value>#f4511e</value>
                        <value>#e64a19</value>
                        <value>#d84315</value>
                        <value>#ffab91</value>
                        <value>#ff8a65</value>
                        <value>#ff7043</value>
                        <value>#ff5722</value>
                        <value>#f4511e</value>
                        <value>#e64a19</value>
                        <value>#d84315</value>
                     </colors>
                     <legend layout="horizontal" halign="center" valign="bottom"/>
                     <renderconditions logictype="and"/>
                     <allowedtypes/>
                  </skuidvis__chart>
               </components>
            </tab>
            <tab name="Alumni Network Services Outcomes" loadlazypanels="true" icon="ui-silk-chart-pie">
               <components/>
            </tab>
            <tab name="Headquarters Outcomes" loadlazypanels="true" icon="ui-silk-chart-bar">
               <components/>
            </tab>
            <tab name="The Broad Academy Outcomes" loadlazypanels="true" icon="ui-silk-chart-line">
               <components/>
            </tab>
            <tab name="The Broad Residency Outcomes" loadlazypanels="true" icon="ui-silk-chart-curve">
               <components/>
            </tab>
         </tabs>
      </tabset>
   </components>
   <resources>
      <labels/>
      <javascript/>
      <css/>
   </resources>
</skuidpage>
Photo of J.

J., Official Rep

  • 7,470 Points 5k badge 2x thumb
I see what's causing the issue: your chart is associated with your Experience model, but that model doesn't have any fields. I am tagging this as a bug because Skuid should handle this scenario a little better, but the quick fix is to add a field to that model. Does doing that get you up and running again?
Photo of Ryan Schowalter

Ryan Schowalter

  • 136 Points 100 badge 2x thumb
Ahhh thank you! I should have noticed that. I was thrown off because I was able to manipulate the Data Axes and Series, but not Category axes. This explains why I was having issues with how the chart displays data as well...

Thanks so much for your help!
Photo of J.

J., Official Rep

  • 7,470 Points 5k badge 2x thumb
Sure thing! Thanks for being a part of our community and helping us make our product better.