public static DisplayAxis GetDependentAxis(this DataPointSeries series) { SeriesPropertyInformation seriesPropertyInformation = _seriesPropertyInformations[series.GetType()]; if (null != seriesPropertyInformation.DependentAxisProperty) { return(series.GetValue(seriesPropertyInformation.DependentAxisProperty) as DisplayAxis); } return(null); }
public static string GetDependentAxisPropertyName(this DataPointSeries series) { SeriesPropertyInformation seriesPropertyInformation = _seriesPropertyInformations[series.GetType()]; return(seriesPropertyInformation.DependentAxisPropertyName); }
public static void SetDependentAxis(this DataPointSeries series, DisplayAxis axis) { SeriesPropertyInformation seriesPropertyInformation = _seriesPropertyInformations[series.GetType()]; if (null != seriesPropertyInformation.DependentAxisProperty) { series.SetValue(seriesPropertyInformation.DependentAxisProperty, axis); } }