public virtual void SetActive(string legend, bool active) { m_Legend.SetActive(legend, active); m_Series.SetActive(legend, active); }
/// <summary> /// Whether to show serie and legend. /// </summary> /// <param name="serieName">the name of serie</param> /// <param name="active">Active or not</param> public virtual void SetActive(string serieName, bool active) { m_Legend.SetActive(serieName, active); m_Series.SetActive(serieName, active); }