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>
  • 相关阅读:
    Centos搭建PHP5.3.8+Nginx1.0.9+Mysql5.5.17
    初识Mongodb总结
    初识Mongodb之[CURD]PHP版
    Centos搭建Samba
    PHP图像处理(二) GraphicsMagick 安装扩展及使用方法
    Vcastr3.0开源在线flv播放器
    自动更新@version svn版本号信息
    Centos安装Memcache
    MVC演化
    JAVA与.NET的相互调用——TCP/IP相互调用基本架构
  • 原文地址:https://www.cnblogs.com/ysharp/p/2043313.html
Copyright © 2011-2022 走看看