This pivotal table enable the application developers to present the hierachical data the pivotal way. It will have chart capability to make data more visualizable and readable.
note that you can pass in data from the container component attribue as shown here.
<c:rst_pivotal_table aura:id="pivotalTable"
data="{!v.data}"
title="Opportunity Security Settings"
columnField="stage"
rowField="action"
rowLabel="Action"
valueField="value"
valueUiType = 'checkbox'
valueClickable = 'false'
/>
<aura:handler name="cellClickEvent" event="c:rst_click_event" action="{! c.onCellClick}" />
onCellClick: function(cmp, evt, h){
var context = evt.getParam('context');
console.log('----subscribe event---');
console.log(context);
}
##Todo We will implement chart.js integration with this component in the next release.