public virtual MetricStateType GetDataPointState(int metricVariantId, MetricInstanceExtendedProperty property, double baseLineValue) { switch (metricVariantId) { case (int)StudentMetricEnum.DIBELS: return (MetricStateType)baseLineValue; } return MetricStateType.None; }
public virtual string GetDataPointLabel(int metricVariantId, MetricInstanceExtendedProperty property) { switch (metricVariantId) { case (int)StudentMetricEnum.DIBELS: return property.Value; } var doubleValue = Convert.ToDouble(property.Value); return String.Format(ValueFormat, doubleValue); }
public virtual string GetDataPointToolTip(int metricVariantId, MetricInstanceExtendedProperty property, IEnumerable<MetricInstanceExtendedProperty> numeratorData, IEnumerable<MetricInstanceExtendedProperty> denominatorData) { switch (metricVariantId) { case (int)StudentMetricEnum.DIBELS: return property.Value; } var doubleValue = Convert.ToDouble(property.Value); return String.Format(ValueFormat, doubleValue); }
public virtual double GetDataPointValue(int metricVariantId, MetricInstanceExtendedProperty property) { return Convert.ToDouble(property.Value); }