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>
  • 相关阅读:
    记录阿里云服务器mysql被黑
    微服务SpringCloud容器化案例
    优雅的启动、停止、重启你的SpringBoot项目
    java模式:建造者模式
    java集合 线程安全
    挖坑:hive集成kerberos
    挖坑:handoop2.6 开启kerberos(全流程学习记录)
    Specified version of key is not available (44)
    Mysql数据按天分区,定期删除
    maven项目打包额外lib目录
  • 原文地址:https://www.cnblogs.com/ysharp/p/2043313.html
Copyright © 2011-2022 走看看