Esempio n. 1
0
        /// <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);
        }
Esempio n. 2
0
 /// <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;
     }
 }
Esempio n. 3
0
 public LabelSeriesItem(IColumnSeries series)
 {
     this.Series = series;
 }