README
Sling Payment Chart Business Component.
This component is a chart with payments info.
Usage
This is how you set the component into the project html structure
<!--root project index file -->
<sling-sdk-connect></sling-sdk-connect>
<!-- component wrapper page location -->
<sling-payment-chart
affiliationcodes=""
startdate=""
finaldate=""
crossbalance=""
aspectratio=""
charttype="">
</sling-payment-chart>
- The stonecode, startdate, finaldate and crossbalance atributes are mandatory for the component to make the correct request to the integrated api and populate it with data.
- aspectratio must be a number representing the chart's width/height ratio. Defaults to 2.
- The charttype atribute is not mandatory. Default option is line. Depending on the chosen type, there are colors configurations set by default.