zoukankan      html  css  js  c++  java
  • Hello Stacked Column Chart

    <navigation:Page xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"  
              x:Class="SLChartsPoc.Views.StackColumnChart" 
               xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
               xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
               xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
               xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                     xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
               mc:Ignorable="d"
               xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
               d:DesignWidth="640" d:DesignHeight="480"
               Title="StackColumnChart Page">
        <Grid x:Name="LayoutRoot">
            <toolkit:Chart>
                <toolkit:Chart.Series>
                    <toolkit:StackedColumnSeries >
                        <toolkit:SeriesDefinition Title="Net (Projected)" 
                                                  ItemsSource="{Binding Items}"
                                              IndependentValueBinding="{Binding DisplayText}" DependentValueBinding="{Binding X}" />
                        <toolkit:SeriesDefinition Title="Net (Realized)" 
                                              ItemsSource="{Binding Items}"
                                              IndependentValueBinding="{Binding DisplayText}" DependentValueBinding="{Binding Y}" />
                    </toolkit:StackedColumnSeries>  
                </toolkit:Chart.Series>
                
                <toolkit:Chart.Axes>
                    <toolkit:LinearAxis Orientation="Y" 
                                        Minimum="0" 
                                        Location="Left" 
                                        Title="Sales"  />
                    <toolkit:CategoryAxis Title="Category" 
                                          Orientation="X"/>
                </toolkit:Chart.Axes>
    
            </toolkit:Chart> 
        </Grid>
    </navigation:Page>
  • 相关阅读:
    为什么 JVM 不用 JIT 全程编译?
    JVM Internals
    JIT与JVM的三种执行模式:解释模式、编译模式、混合模式
    Dart编译技术与平台
    Dart 库预览
    使用VSCode开发Flutter
    环境变量
    使用Homebrew管理你的mac开发包
    brew 又叫Homebrew,是Mac OSX上的软件包管理工具
    使用async/await消除callback hell
  • 原文地址:https://www.cnblogs.com/mjgb/p/StackedColumnChart.html
Copyright © 2011-2022 走看看