개정판 6466bd2d
Dashboard chart Markus링크 수정, Cell stlye수정, Chart와 GridView넓이 늘림
Change-Id: If2c9c0367ca3f52f1cb4b41b48c2ae82f5e29f3a
ConvertService/ServiceBase/Markus.Service.StationController/Views/DashBoard.xaml | ||
---|---|---|
20 | 20 |
<Setter Property="VerticalContentAlignment" Value="Stretch"/> |
21 | 21 |
<Setter Property="HorizontalContentAlignment" Value="Stretch"/> |
22 | 22 |
</Style> |
23 |
<Style TargetType="{x:Type telerik:GridViewHeaderCell}"> |
|
24 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
|
25 |
<Setter Property="Background" Value="Gray"/> |
|
26 |
</Style> |
|
27 |
<Style TargetType="{x:Type telerik:GridViewCell}"> |
|
28 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
|
29 |
</Style> |
|
23 | 30 |
<Style TargetType="{x:Type telerik:GridViewCell}" x:Key="OriginalFileGridViewCell"> |
24 | 31 |
<Setter Property="HorizontalContentAlignment" Value="Left"/> |
25 | 32 |
</Style> |
... | ... | |
111 | 118 |
<RowDefinition Height="*"/> |
112 | 119 |
<RowDefinition Height="Auto"/> |
113 | 120 |
</Grid.RowDefinitions> |
114 |
<telerik:RadCartesianChart x:Name="chart" Palette="{StaticResource ActualTargetChartPalette}" ClipToBounds="False" Margin="0,50,0,50" Grid.Row="0"> |
|
121 |
<telerik:RadCartesianChart x:Name="chart" Palette="{StaticResource ActualTargetChartPalette}" ClipToBounds="False" Margin="0,50,0,50" Grid.Row="0" Grid.ColumnSpan="2">
|
|
115 | 122 |
<telerik:RadCartesianChart.VerticalAxis> |
116 | 123 |
<telerik:CategoricalAxis IsInverse="True" |
117 | 124 |
MajorTickStyle="{StaticResource TransparentTickStyle}" |
... | ... | |
175 | 182 |
</telerik:RadCartesianChart.Series> |
176 | 183 |
</telerik:RadCartesianChart> |
177 | 184 |
<telerik:RadLegend Grid.Column="1" Grid.Row="0" Margin="24,4,0,0" MinWidth="76" Items="{Binding LegendItems, ElementName=chart}" /> |
178 |
<telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
|
179 |
ItemsSource="{Binding DashBoard_Convert}" |
|
180 |
SelectionMode="Extended" |
|
181 |
SelectionUnit="FullRow" |
|
182 |
CanUserSelect ="True" |
|
183 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
|
184 |
AutoGenerateColumns="False" |
|
185 |
ColumnWidth="*" CanUserFreezeColumns="False" |
|
186 |
Grid.Row="1" Grid.ColumnSpan="2" ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True" |
|
187 |
LeftFrozenColumnCount="6" |
|
188 |
RightFrozenColumnCount="0"> |
|
189 |
<i:Interaction.Behaviors> |
|
190 |
<controls:GridViewSelectionUtilities SelectedItems="{Binding SelectedConvertList, Source={StaticResource DashBoardViewModel}}" /> |
|
191 |
</i:Interaction.Behaviors> |
|
192 |
<telerik:RadGridView.Columns> |
|
185 |
<telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Grid.ColumnSpan="2" |
|
186 |
ItemsSource="{Binding DashBoard_Convert}" |
|
187 |
SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}" |
|
188 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
|
189 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" |
|
190 |
ColumnWidth="*" |
|
191 |
Grid.Row="1" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True"> |
|
192 |
<telerik:RadGridView.Columns> |
|
193 | 193 |
<telerik:GridViewToggleRowDetailsColumn /> |
194 | 194 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
195 |
<telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*" >
|
|
195 |
<telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="*" > |
|
196 | 196 |
<telerik:GridViewDataColumn.CellTemplate> |
197 | 197 |
<DataTemplate> |
198 | 198 |
<telerik:RadButton Content="Click" BorderThickness="0" |
199 | 199 |
Background="Transparent" |
200 |
Command="{Binding MarkusLinkCommand, Source={StaticResource DashBoardViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
|
200 |
Command="{Binding ConvertPDFMarkusLinkCommand, Source={StaticResource DashBoardViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
|
|
201 | 201 |
</DataTemplate> |
202 | 202 |
</telerik:GridViewDataColumn.CellTemplate> |
203 | 203 |
</telerik:GridViewDataColumn> |
... | ... | |
252 | 252 |
<RowDefinition Height="*"/> |
253 | 253 |
<RowDefinition Height="Auto"/> |
254 | 254 |
</Grid.RowDefinitions> |
255 |
<telerik:RadCartesianChart x:Name="char1" Palette="{StaticResource ActualTargetChartPalette}" ClipToBounds="False" Margin="0,50,0,50" Grid.Row="0"> |
|
255 |
<telerik:RadCartesianChart x:Name="char1" Palette="{StaticResource ActualTargetChartPalette}" ClipToBounds="False" Margin="0,50,0,50" Grid.Row="0" Grid.ColumnSpan="2">
|
|
256 | 256 |
<telerik:RadCartesianChart.VerticalAxis> |
257 | 257 |
<telerik:CategoricalAxis IsInverse="True" |
258 | 258 |
MajorTickStyle="{StaticResource TransparentTickStyle}" |
... | ... | |
317 | 317 |
</telerik:RadCartesianChart> |
318 | 318 |
|
319 | 319 |
<telerik:RadLegend Grid.Column="1" Grid.Row="0" MinWidth="76" Items="{Binding LegendItems, ElementName=char1}" /> |
320 |
|
|
321 |
<telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
|
322 |
ItemsSource="{Binding DashBoard_FinalPDF}" |
|
323 |
SelectionMode="Extended" |
|
324 |
SelectionUnit="FullRow" |
|
325 |
CanUserSelect ="True" |
|
326 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
|
327 |
AutoGenerateColumns="False" |
|
328 |
ColumnWidth="*" CanUserFreezeColumns="False" |
|
329 |
Grid.Row="1" Grid.ColumnSpan="2" ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True" |
|
330 |
LeftFrozenColumnCount="6" |
|
331 |
RightFrozenColumnCount="0"> |
|
332 |
<i:Interaction.Behaviors> |
|
333 |
<controls:GridViewSelectionUtilities SelectedItems="{Binding SelectedFinalPDFList, Source={StaticResource DashBoardViewModel}}" /> |
|
334 |
</i:Interaction.Behaviors> |
|
335 |
<telerik:RadGridView.Columns> |
|
320 |
|
|
321 |
<telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Grid.ColumnSpan="2" |
|
322 |
ItemsSource="{Binding DashBoard_FinalPDF}" |
|
323 |
SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}" |
|
324 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
|
325 |
AutoGenerateColumns="False" CanUserFreezeColumns="False" |
|
326 |
ColumnWidth="*" |
|
327 |
Grid.Row="1" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True"> |
|
328 |
<telerik:RadGridView.Columns> |
|
336 | 329 |
<telerik:GridViewToggleRowDetailsColumn /> |
337 | 330 |
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" /> |
338 |
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
|
|
331 |
<telerik:GridViewDataColumn Header="Markus " Width="*" CellStyle="{StaticResource StretchCellStyle}"> |
|
339 | 332 |
<telerik:GridViewDataColumn.CellTemplate> |
340 | 333 |
<DataTemplate> |
341 | 334 |
<telerik:RadButton Content="Click" BorderThickness="0" |
342 | 335 |
Background="Transparent" |
343 |
Command="{Binding MarkusLinkCommand, Source={StaticResource DashBoardViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/> |
|
336 |
Command="{Binding FinalPDFMarkusLinkCommand, Source={StaticResource DashBoardViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
|
|
344 | 337 |
</DataTemplate> |
345 | 338 |
</telerik:GridViewDataColumn.CellTemplate> |
346 | 339 |
</telerik:GridViewDataColumn> |
내보내기 Unified diff