## 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.

Function | Description | Usage |
---|---|---|

SetYAxisMinimum(integer num) | This function sets the minimum value of the chart on the y axis | chart:SetYAxisMinimum(5) |

SetYAxisMaximum(integer num) | This function sets the maximum value of the chart on the y axis | chart:SetYAxisMaximum(200) |

SetXAxisMinimum(integer num) | This function sets the minimum value of the chart on the x axis | chart:SetXAxisMinimum(0) |

SetXAxisMaximum(integer num) | This function sets the maximum value of the chart on the x axis | chart:SetXAxisMaximum(600) |

FlipOrientation() | This function takes in no parameters, and this function will swap the places of the x and y axis | chart:FlipOrientation() |

SetFontSize(integer size) | This function will adjust the font size on all areas of the chart based on points (pt) given | chart: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) given | chart:SetLegendLabelFontSize(10) |