|
|
|
|
@ -182,56 +182,121 @@
|
|
|
|
|
</Style>
|
|
|
|
|
</Grid.Resources>
|
|
|
|
|
|
|
|
|
|
<StackPanel Style="{StaticResource VisibleWhenLineNStackArea}">
|
|
|
|
|
<Grid Margin="0 0 0 20" >
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="80"/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<TextBlock Text="X축" VerticalAlignment="Center"
|
|
|
|
|
FontSize="20" FontFamily="{StaticResource SCDream4}" Foreground="White"/>
|
|
|
|
|
<TextBlock Text="{Binding SelectedXField.Display}" VerticalAlignment="Center"
|
|
|
|
|
Margin="15 0 0 0" Grid.Column="1"
|
|
|
|
|
FontSize="20" FontFamily="{StaticResource SCDream4}" Foreground="White"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<StackPanel Style="{StaticResource VisibleWhenLineNStackArea}">
|
|
|
|
|
<Grid Margin="0 0 0 20" >
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="80"/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<TextBlock Text="X축" VerticalAlignment="Center"
|
|
|
|
|
FontSize="20" FontFamily="{StaticResource SCDream4}" Foreground="White"/>
|
|
|
|
|
<TextBlock Text="{Binding SelectedXField.Display}" VerticalAlignment="Center"
|
|
|
|
|
Margin="15 0 0 0" Grid.Column="1"
|
|
|
|
|
FontSize="20" FontFamily="{StaticResource SCDream4}" Foreground="White"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<Grid Margin="0 0 0 15" Style="{StaticResource VisibleWhenLineNStackArea}">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="80"/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<TextBlock Text="Y축" VerticalAlignment="Top"
|
|
|
|
|
FontSize="20" FontFamily="{StaticResource SCDream4}" Foreground="White"/>
|
|
|
|
|
<Grid Margin="0 0 0 15">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="80"/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<TextBlock Text="Y축" VerticalAlignment="Top"
|
|
|
|
|
FontSize="20" FontFamily="{StaticResource SCDream4}" Foreground="White"/>
|
|
|
|
|
|
|
|
|
|
<Border Grid.Column="1" CornerRadius="10"
|
|
|
|
|
Background="White" Margin="15 0 0 15">
|
|
|
|
|
<ListBox ItemsSource="{Binding YFieldCandidates}"
|
|
|
|
|
DisplayMemberPath="Display"
|
|
|
|
|
SelectionMode="Extended"
|
|
|
|
|
helper:MultiSelectBehavior.SelectedItems="{Binding SelectedYFields, Mode=OneWay}"
|
|
|
|
|
helper:MultiSelectBehavior.KeyPath="Key"
|
|
|
|
|
helper:MultiSelectBehavior.ValuePath="Value"
|
|
|
|
|
Height="Auto" Background="White"
|
|
|
|
|
FontSize="16" FontWeight="Bold"
|
|
|
|
|
Style="{StaticResource MaterialDesignFilterChipListBox}"/>
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
<Border Grid.Column="1" CornerRadius="10"
|
|
|
|
|
Background="White" Margin="15 0 0 15">
|
|
|
|
|
<ListBox ItemsSource="{Binding YFieldCandidates}"
|
|
|
|
|
DisplayMemberPath="Display"
|
|
|
|
|
SelectionMode="Extended"
|
|
|
|
|
helper:MultiSelectBehavior.SelectedItems="{Binding SelectedYFields, Mode=OneWay}"
|
|
|
|
|
helper:MultiSelectBehavior.KeyPath="Key"
|
|
|
|
|
helper:MultiSelectBehavior.ValuePath="Value"
|
|
|
|
|
Height="Auto" Background="White"
|
|
|
|
|
FontSize="16" FontWeight="Bold"
|
|
|
|
|
Style="{StaticResource MaterialDesignFilterChipListBox}"/>
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<StackPanel Style="{StaticResource VisibleWhenPie}">
|
|
|
|
|
<Grid Margin="0 0 0 15">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="80"/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<TextBlock Text="필드" VerticalAlignment="Top"
|
|
|
|
|
FontSize="20" FontFamily="{StaticResource SCDream4}" Foreground="White"/>
|
|
|
|
|
|
|
|
|
|
<Border Grid.Column="1" CornerRadius="10"
|
|
|
|
|
Background="White" Margin="15 0 0 15">
|
|
|
|
|
<ListBox ItemsSource="{Binding YFieldCandidates}"
|
|
|
|
|
DisplayMemberPath="Display"
|
|
|
|
|
SelectionMode="Extended"
|
|
|
|
|
helper:MultiSelectBehavior.SelectedItems="{Binding SelectedYFields, Mode=OneWay}"
|
|
|
|
|
helper:MultiSelectBehavior.KeyPath="Key"
|
|
|
|
|
helper:MultiSelectBehavior.ValuePath="Value"
|
|
|
|
|
Height="Auto" Background="White"
|
|
|
|
|
FontSize="16" FontWeight="Bold"
|
|
|
|
|
Style="{StaticResource MaterialDesignFilterChipListBox}"/>
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 0 0 15" Grid.Row="4">
|
|
|
|
|
<CheckBox Content="마커 표시" IsChecked="{Binding ShowMarkers}" Margin="0 0 15 0"
|
|
|
|
|
FontSize="20" FontFamily="{StaticResource SCDream4}" Foreground="White"
|
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
Style="{StaticResource MaterialDesignUserForegroundCheckBox}"/>
|
|
|
|
|
<CheckBox Content="범례 표시" IsChecked="{Binding ShowLegends}" Margin="0 0 15 0"
|
|
|
|
|
FontSize="20" FontFamily="{StaticResource SCDream4}" Foreground="White"
|
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
Style="{StaticResource MaterialDesignUserForegroundCheckBox}"/>
|
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 0 0 15">
|
|
|
|
|
<RadioButton x:Name="rbStatus" Content="합계"
|
|
|
|
|
GroupName="pie" Margin="0 0 30 0"
|
|
|
|
|
Foreground="White" FontSize="20"
|
|
|
|
|
Style="{StaticResource MaterialDesignUserForegroundRadioButton}"/>
|
|
|
|
|
<RadioButton x:Name="pie" Content="평균"
|
|
|
|
|
GroupName="strpPlot" Grid.Column="1"
|
|
|
|
|
Foreground="White" FontSize="20"
|
|
|
|
|
Style="{StaticResource MaterialDesignUserForegroundRadioButton}"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="15 0 0 0" Grid.Row="1">
|
|
|
|
|
<CheckBox Content="마커 표시" IsChecked="{Binding ShowMarkers}" Margin="0 0 15 0"
|
|
|
|
|
FontSize="20" FontFamily="{StaticResource SCDream4}" Foreground="White"
|
|
|
|
|
VerticalContentAlignment="Center">
|
|
|
|
|
<CheckBox.Style>
|
|
|
|
|
<Style TargetType="CheckBox" BasedOn="{StaticResource MaterialDesignUserForegroundCheckBox}">
|
|
|
|
|
<Setter Property="Visibility" Value="Collapsed"/>
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding SelectedGraphType}" Value="LINE">
|
|
|
|
|
<Setter Property="Visibility" Value="Visible"/>
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding SelectedGraphType}" Value="STACKAREA">
|
|
|
|
|
<Setter Property="Visibility" Value="Visible"/>
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</CheckBox.Style>
|
|
|
|
|
</CheckBox>
|
|
|
|
|
<CheckBox Content="범례 표시" IsChecked="{Binding ShowLegends}" Margin="0 0 15 0"
|
|
|
|
|
FontSize="20" FontFamily="{StaticResource SCDream4}" Foreground="White"
|
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
Style="{StaticResource MaterialDesignUserForegroundCheckBox}"/>
|
|
|
|
|
<CheckBox Content="도넛 모드" IsChecked="{Binding IsDonutMode}" Margin="0 0 15 0"
|
|
|
|
|
FontSize="20" FontFamily="{StaticResource SCDream4}" Foreground="White"
|
|
|
|
|
VerticalContentAlignment="Center">
|
|
|
|
|
<CheckBox.Style>
|
|
|
|
|
<Style TargetType="CheckBox" BasedOn="{StaticResource MaterialDesignUserForegroundCheckBox}">
|
|
|
|
|
<Setter Property="Visibility" Value="Collapsed"/>
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding SelectedGraphType}" Value="PIE">
|
|
|
|
|
<Setter Property="Visibility" Value="Visible"/>
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</CheckBox.Style>
|
|
|
|
|
</CheckBox>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="15 0" Grid.Row="1" HorizontalAlignment="Right">
|
|
|
|
|
<Button Content="그래프 생성" Style="{StaticResource MaterialDesignFlatLightBgButton}"
|
|
|
|
|
FontWeight="Bold" Command="{Binding DrawGraphCommand}"/>
|
|
|
|
|
|