Additional Useful Functions For Charts

As a data scientist, we always want to present our data to help viewers understand and draw conclusions from the data. These functions listed below are additional resources to help us customize our data visualizations even further. All the functions described will work with any chart type.

Additional Useful Functions
Function Description Usage
SetYAxisMinimum(integer num)This function sets the minimum value of the chart on the y axischart:SetYAxisMinimum(5)
SetYAxisMaximum(integer num)This function sets the maximum value of the chart on the y axischart:SetYAxisMaximum(200)
SetXAxisMinimum(integer num)This function sets the minimum value of the chart on the x axischart:SetXAxisMinimum(0)
SetXAxisMaximum(integer num)This function sets the maximum value of the chart on the x axischart:SetXAxisMaximum(600)
FlipOrientation()This function takes in no parameters, and this function will swap the places of the x and y axischart:FlipOrientation()
SetFontSize(integer size)This function will adjust the font size on all areas of the chart based on points (pt) givenchart:SetFontSize(20)
SetLegendLabelFontSize(integer size)This function will adjust the font size of the labels on the legend of the chart based on points (pt) givenchart:SetLegendLabelFontSize(10)