This package contains the necessary classes to configure a VTABLE with a Sankey chart render
1 D3Sankey
Example
Copy
return new Ax.ext.view.d3.sankey.Builder() .setSourceColumn("source") .setTargetColumn("target") .setValueColumn("value") .setWidth(1920) .setHeight(1200) .setMarginTop(15) .setMarginRight(15) .setMarginBottom(15) .setMarginLeft(15) .setUnitPosition( Ax.ext.view.d3.sankey.UnitPosition.RIGHT) .setUnit("kWh") //.setColors(["#FF0000", "#445566", "rgb(255,35,65)"]) .setColorFormat(Ax.ext.view.d3.sankey.ColorFormat.INTERPOLATE) .setLinkStrokeOpacity(0.5) .setLinkHoverOpacity(0.8) .setAlign(Ax.ext.view.d3.sankey.Align.JUSTIFY) .setNodeWidth(20) .setNodeStrokeWidth(1) .setNodeStrokeOpacity(1) .setNodePadding(10) .setNodeLabelPadding(6) .build();