[setLegend(boolean value) method Determines whether a chart has a legend. Read/write boolean. Returns void]