Skuid Sample Pages

On the page https://portal.skuidsite.com/designsystem/samplepages there is sample code for all examples except the one I am looking for https://portal.skuidsite.com/designsystem/samplepages/preview/ordersdashboard

I am looking to see how the "Segment by Subcategory" creates the chart.

Best Answer

  • Rob Hatch
    Rob Hatch 🛠️ 
    Accepted Answer

    The reason we don't provide sample xml for that demo is that the data source is not a standard SFDC datasource. Its a more complicated set of aggregations and summaries of sales data delivered in a few PostgreSQL tables.

    The Segment by Subcategory chart is totally facilitated by the data. We do server side aggregation and calculation to produce a simple table with rows for each product (Chairs, Accessories, etc) and columns for each Subcategory (Consumer, Home Office, etc). In addition, the field value at each intersection is expressed as a percentage of the row total. (Standard Pivot table stuff). So my Skuid Chart is stupid easy.

    The fun is in the data aggregation and processing. But you really shouldn't ever do that client side anyway - if you can help it.

    Sorry about not being more help. But that's the back story on those charts and graphs.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!