+1 functions like getPieMark, getPieMidText were added to access from other chart types in order to draw combinations (eg:- including a best fit line for a scatter plot) other functions are from util js. Let's include all those functions to vizg and include vizg to global scope.
On Sun, Apr 23, 2017 at 12:38 AM, Udara Rathnayake <uda...@wso2.com> wrote: > Looks like we are doing the $subject. > > While looking at the window object, noticed we have following[1], Shall we > try to update the library by only adding vizg to the global scope? > > [1] > "d3", "vg", "getPieMark", "getPieMidText", "getPieText", "getAreaMark", > "getBarMark", "getStackBarMark", "getGroupBarMark", "calculateBarGap", > "getLineMark", "getTopoJson", "getMapMark", "getMapSignals", > "getMapPredicates", "getMapLegends", "loadGeoMapCodes", "getMapCode", > "getScatterMark", "getScatterToolTipMark", "checkConfig", "buildTable", > "buildData", "getSymbolMark", "getSignals", "bindTooltip", "createTooltip", > "cumulativeOffset", "getXYAxes", "getXYScales", "getRangeSignals", > "getRangeMark", "getLegend", "drawChart", "arc", "area", "bar", "vizg", > "line", "map", "number", "scatter", "table", "extend", "stack" > > -- > Regards, > UdaraR > -- *Tharik Kanaka* WSO2, Inc | lean . enterprise . middleware Email: tha...@wso2.com | Web: www.wso2.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev