프로젝트

일반

사용자정보

개정판 c7955b40

IDc7955b40e48122cfa18a51583ded63eefc874e96
상위 80391351
하위 e139272d, 53deabaf

semi 이(가) 4년 이상 전에 추가함

search 후 Convert 수정

Change-Id: I3c9e136d7fe702e379ec5dfc7b016bb0d3a34745

차이점 보기:

ConvertService/ServiceBase/Markus.Service.StationController/Views/DashBoard.xaml
6 6
             xmlns:controls="clr-namespace:Markus.Service.StationController.Controls"
7 7
             xmlns:VM="clr-namespace:Markus.Service.StationController.ViewModel"
8 8
             xmlns:Data="clr-namespace:Markus.Service.StationController.Data"  
9
             xmlns:chart="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Chart"
10
             xmlns:chartView="clr-namespace:Telerik.Windows.Controls.ChartView;assembly=Telerik.Windows.Controls.Chart"
11
             xmlns:telerikChart="using:Telerik.UI.Xaml.Controls.Chart"
9 12
             xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
10 13
             xmlns:local="clr-namespace:Markus.Service.StationController.Views" x:Class="Markus.Service.StationController.Views.DashBoard"
11 14
             mc:Ignorable="d"  Background="White" DataContext="{DynamicResource DashBoardViewModel}" 
......
42 45
        <Grid.RowDefinitions>
43 46
            <RowDefinition Height="Auto" />
44 47
            <RowDefinition Height="Auto" />
48
            <RowDefinition Height="Auto" />
45 49
            <RowDefinition Height="*" />
46 50
        </Grid.RowDefinitions>
47 51
        <Grid.ColumnDefinitions>
48 52
            <ColumnDefinition/>
49 53
            <ColumnDefinition/>
50 54
        </Grid.ColumnDefinitions>
51
        <StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0"  Height="20" >
55
        <StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Left" Grid.Row="0"  Height="20" >
52 56
            <TextBlock Text="Display Count : " VerticalAlignment="Center"/>
53 57
            <telerik:RadComboBox x:Name="ComboCount" Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember"
54 58
                  DisplayMemberPath="ValueMember" ItemsSource="{Binding SelectedCountList}" SelectedIndex="0" />
......
75 79
                <Button Content="Clear" Margin="5"  Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/>
76 80
            </StackPanel>
77 81
        </StackPanel>
78
        <Grid Grid.Row="2">
82
        <TextBlock Text="Convert Items" Grid.Row="2" Grid.Column="0" HorizontalAlignment="Center" Margin="0,20,0,0"/>
83
        <Grid Grid.Row="3" Grid.Column="0" Margin="20,0,0,0">
79 84
            <Grid.ColumnDefinitions>
80 85
                <ColumnDefinition Width="*" />
81 86
                <ColumnDefinition Width="Auto" />
82 87
            </Grid.ColumnDefinitions>
83
            <telerik:RadCartesianChart x:Name="chart" Palette="{StaticResource ActualTargetChartPalette}" MinHeight="90" MaxHeight="90" Margin="10 0 20 0" ClipToBounds="False">
88
            <telerik:RadCartesianChart x:Name="chart" Palette="{StaticResource ActualTargetChartPalette}" ClipToBounds="False" Margin="0,50,0,50">
84 89
                <telerik:RadCartesianChart.VerticalAxis>
85 90
                    <telerik:CategoricalAxis IsInverse="True" 
86 91
                                         MajorTickStyle="{StaticResource TransparentTickStyle}" 
......
93 98
                <telerik:RadCartesianChart.Series>
94 99
                    <telerik:BarSeries CategoryBinding="Project_NO" 
95 100
                                   ValueBinding="Count" 
96
                                   ItemsSource="{Binding DashBoard, UpdateSourceTrigger=PropertyChanged}" 
101
                                   ItemsSource="{Binding ConvertCOUNTDashBoard}"
97 102
                                   CombineMode="None" 
98
                                   ShowLabels="True" 
99
                                   ClipToPlotArea="False"
100
                                   >
103
                                   ShowLabels="False" 
104
                                   ClipToPlotArea="False" >
105
                        <telerik:BarSeries.PointAnimation>
106
                            <telerik:ChartMoveAnimation Delay="0:0:0.125" Duration="0:0:1.55" MoveAnimationType="Left" >
107
                                <telerik:ChartMoveAnimation.Easing>
108
                                    <BounceEase EasingMode="EaseOut" Bounces="20" Bounciness="5" />
109
                                </telerik:ChartMoveAnimation.Easing>
110
                            </telerik:ChartMoveAnimation>
111
                        </telerik:BarSeries.PointAnimation>
101 112
                        <telerik:BarSeries.PointTemplate>
102 113
                            <DataTemplate>
103 114
                                <Rectangle Fill="{StaticResource ActualBrush}" Margin="0 0 0 3" />
......
111 122
                        </telerik:BarSeries.LabelDefinitions>
112 123
                    </telerik:BarSeries>
113 124
                    <telerik:BarSeries CategoryBinding="Project_NO" 
114
                                   ValueBinding="ExceptionCount" 
115
                                   ItemsSource="{Binding DashBoard, UpdateSourceTrigger=PropertyChanged}" 
116
                                   CombineMode="None">
125
                                       ValueBinding="ExceptionCount" 
126
                                       ItemsSource="{Binding ConvertCOUNTDashBoard}"
127
                                       CombineMode="None"  >
128
                        <telerik:BarSeries.PointAnimation>
129
                            <telerik:ChartMoveAnimation Delay="0:0:0.125" Duration="0:0:1.55" MoveAnimationType="Left" >
130
                                <telerik:ChartMoveAnimation.Easing>
131
                                    <BounceEase EasingMode="EaseOut" Bounces="20" Bounciness="5" />
132
                                </telerik:ChartMoveAnimation.Easing>
133
                            </telerik:ChartMoveAnimation>
134
                        </telerik:BarSeries.PointAnimation>
117 135
                        <telerik:BarSeries.PointTemplate>
118 136
                            <DataTemplate>
119 137
                                <Rectangle Fill="{StaticResource TargetBrush}" Height="2" VerticalAlignment="Bottom" />
120 138
                            </DataTemplate>
121 139
                        </telerik:BarSeries.PointTemplate>
122 140
                        <telerik:BarSeries.LegendSettings>
123
                            <telerik:SeriesLegendSettings Title="ExceptionCountrget" MarkerGeometry="{StaticResource LineSeriesLegendGeometry}" />
141
                            <telerik:SeriesLegendSettings Title="ExceptionCount" MarkerGeometry="{StaticResource LineSeriesLegendGeometry}" />
124 142
                        </telerik:BarSeries.LegendSettings>
125 143
                    </telerik:BarSeries>
126 144
                </telerik:RadCartesianChart.Series>
......
128 146

  
129 147
            <telerik:RadLegend Grid.Column="1" Grid.Row="1" Margin="24,4,0,0" MinWidth="76" Items="{Binding LegendItems, ElementName=chart}" />
130 148
        </Grid>
131
            
132
            
133
                <!--<telerik:RadCartesianChart x:Name="chart">
134
                    <telerik:RadCartesianChart.HorizontalAxis>
135
                        <telerik:LinearAxis/>
136
                    </telerik:RadCartesianChart.HorizontalAxis>
137

  
138
                    <telerik:RadCartesianChart.VerticalAxis>
139
                        <telerik:CategoricalAxis/>
140
                    </telerik:RadCartesianChart.VerticalAxis>
141 149

  
142
                    <telerik:RadCartesianChart.Series>
143
                        <telerik:BarSeries>
150
        <TextBlock Text="FinalPDF Items" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" Margin="0,20,0,0"/>
151
        <Grid Grid.Row="3" Grid.Column="1" Margin="20,0,0,0">
152
            <Grid.ColumnDefinitions>
153
                <ColumnDefinition Width="*" />
154
                <ColumnDefinition Width="Auto" />
155
            </Grid.ColumnDefinitions>
156
            <telerik:RadCartesianChart x:Name="char1" Palette="{StaticResource ActualTargetChartPalette}" ClipToBounds="False" Margin="0,50,0,50">
157
                <telerik:RadCartesianChart.VerticalAxis>
158
                    <telerik:CategoricalAxis IsInverse="True" 
159
                                         MajorTickStyle="{StaticResource TransparentTickStyle}" 
160
                                         LineStroke="Transparent" 
161
                                         LabelStyle="{StaticResource TextBlockCountryStyle}" />
162
                </telerik:RadCartesianChart.VerticalAxis>
163
                <telerik:RadCartesianChart.HorizontalAxis>
164
                    <telerik:LinearAxis ShowLabels="False" ElementBrush="Transparent" />
165
                </telerik:RadCartesianChart.HorizontalAxis>
166
                <telerik:RadCartesianChart.Series>
167
                    <telerik:BarSeries CategoryBinding="Project_NO" 
168
                                   ValueBinding="Count" 
169
                                   ItemsSource="{Binding FinalPDFCOUNTDashBoard}"
170
                                   CombineMode="None" 
171
                                   ShowLabels="False" 
172
                                   ClipToPlotArea="False" >
173
                        <telerik:BarSeries.PointAnimation>
174
                            <telerik:ChartMoveAnimation Delay="0:0:0.125" Duration="0:0:1.55" MoveAnimationType="Left" >
175
                                <telerik:ChartMoveAnimation.Easing>
176
                                    <BounceEase EasingMode="EaseOut" Bounces="20" Bounciness="5" />
177
                                </telerik:ChartMoveAnimation.Easing>
178
                            </telerik:ChartMoveAnimation>
179
                        </telerik:BarSeries.PointAnimation>
180
                        <telerik:BarSeries.PointTemplate>
181
                            <DataTemplate>
182
                                <Rectangle Fill="{StaticResource ActualBrush}" Margin="0 0 0 3" />
183
                            </DataTemplate>
184
                        </telerik:BarSeries.PointTemplate>
185
                        <telerik:BarSeries.LegendSettings>
186
                            <telerik:SeriesLegendSettings Title="Count" MarkerGeometry="{StaticResource SolidRectLegendGeometry}" />
187
                        </telerik:BarSeries.LegendSettings>
188
                        <telerik:BarSeries.LabelDefinitions>
189
                            <telerik:ChartSeriesLabelDefinition Binding="Count" Format="{}{0:F1}" DefaultVisualStyle="{StaticResource TextBlockCountryStyle}" Strategy="{StaticResource RightAlignedLabelStrategy}" />
190
                        </telerik:BarSeries.LabelDefinitions>
191
                    </telerik:BarSeries>
192
                    <telerik:BarSeries CategoryBinding="Project_NO" 
193
                                       ValueBinding="ExceptionCount" 
194
                                       ItemsSource="{Binding FinalPDFCOUNTDashBoard}"
195
                                       CombineMode="None"  >
196
                        <telerik:BarSeries.PointAnimation>
197
                            <telerik:ChartMoveAnimation Delay="0:0:0.125" Duration="0:0:1.55" MoveAnimationType="Left" >
198
                                <telerik:ChartMoveAnimation.Easing>
199
                                    <BounceEase EasingMode="EaseOut" Bounces="20" Bounciness="5" />
200
                                </telerik:ChartMoveAnimation.Easing>
201
                            </telerik:ChartMoveAnimation>
202
                        </telerik:BarSeries.PointAnimation>
203
                        <telerik:BarSeries.PointTemplate>
204
                            <DataTemplate>
205
                                <Rectangle Fill="{StaticResource TargetBrush}" Height="2" VerticalAlignment="Bottom" />
206
                            </DataTemplate>
207
                        </telerik:BarSeries.PointTemplate>
208
                        <telerik:BarSeries.LegendSettings>
209
                            <telerik:SeriesLegendSettings Title="ExceptionCount" MarkerGeometry="{StaticResource LineSeriesLegendGeometry}" />
210
                        </telerik:BarSeries.LegendSettings>
211
                    </telerik:BarSeries>
212
                </telerik:RadCartesianChart.Series>
213
            </telerik:RadCartesianChart>
144 214

  
145
                            <telerik:BarSeries.DataPoints>
146
                            <telerik:CategoricalDataPoint Category="rk" Value="10"/>
147
                                <telerik:CategoricalDataPoint Category="나" Value="4"/>
148
                                <telerik:CategoricalDataPoint Category="다" Value="7"/>
149
                                <telerik:CategoricalDataPoint Category="라" Value="11"/>
150
                                <telerik:CategoricalDataPoint Category="마" Value="15"/>
151
                            </telerik:BarSeries.DataPoints>
152
                        </telerik:BarSeries>
153
                    </telerik:RadCartesianChart.Series>
154
                </telerik:RadCartesianChart>
155
            </Grid>-->
215
            <telerik:RadLegend Grid.Column="1" Grid.Row="1" MinWidth="76" Items="{Binding LegendItems, ElementName=char1}" />
216
        </Grid>
156 217
    </Grid>
157 218
</UserControl>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)