/// <summary> /// 创建ColumnSeries显示控件 /// </summary> /// <param name="series">ColumnSeries</param> /// <returns>ColumnSeries显示控件</returns> internal static Rectangle CreateColumn(IColumnSeries series) { var column = new Rectangle(); column.Style = series.GetStyle(); return(column); }
/// <summary> /// 设置ColumnSeriesTooltip /// </summary> /// <param name="series">ColumnSeries</param> /// <param name="tooltipText">Tooltip</param> /// <param name="column">Column控件</param> internal static void SetColumnTooltipText(IColumnSeries series, string tooltipText, FrameworkElement column) { if (series.EnableTooltip && !string.IsNullOrWhiteSpace(tooltipText)) { column.ToolTip = tooltipText; } }
public LabelSeriesItem(IColumnSeries series) { this.Series = series; }