zoukankan      html  css  js  c++  java
  • Chart without legend

    <Grid xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:charting="clr-namespace:Microsoft.Windows.Controls.DataVisualization.Charting;assembly=Microsoft.Windows.Controls.DataVisualization" xmlns:datavis="clr-namespace:Microsoft.Windows.Controls.DataVisualization;assembly=Microsoft.Windows.Controls.DataVisualization" xmlns:utility="clr-namespace:Utility;assembly=ChartBuilder" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
      <charting:Chart
       Title="Title"
       LegendTitle="Legend">

        <charting:Chart.LegendStyle>
          <Style TargetType
    ="datavis:Legend">
            <Setter Property="Width" Value
    ="0"/>
            <Setter Property="Height" Value
    ="0"/>
          </Style
    >
        </charting:Chart.LegendStyle
    >

        <charting:Chart.Series>
          <charting:ColumnSeries
           Title="Series 1">
            <charting:ColumnSeries.ItemsSource>
              <utility:ObservableObjectCollection>
                <sys:Double>1</sys:Double>
                <sys:Double>2.33333333333333</sys:Double>
                <sys:Double>3.66666666666667</sys:Double>
                <sys:Double>5</sys:Double>
              </utility:ObservableObjectCollection>
            </charting:ColumnSeries.ItemsSource>
          </charting:ColumnSeries>
        </charting:Chart.Series>
        <charting:Chart.Axes />
      </charting:Chart>
    </
    Grid>
  • 相关阅读:
    Java
    hadoop MapReduce Yarn运行机制
    在eclipse上开发hadoop2.5.2程序的快捷方法
    eclipse快捷键
    HDFS原理介绍
    Java异常
    hadoop初识
    操作系统学习---进程管理(二)
    操作系统学习---进程管理(一)
    操作系统学习---虚拟内存
  • 原文地址:https://www.cnblogs.com/ysharp/p/2043313.html
Copyright © 2011-2022 走看看