private void DotsTrackBar_ValueChanged(object sender, System.EventArgs e)
        {
            DotDensityDemographicStyleBuilder dotDensityDemographicStyle = (DotDensityDemographicStyleBuilder)currentStyleBuilder;

            dotDensityDemographicStyle.DotDensityValue = 50 * (trackBarDots.Value / 3d);
            UpdateMap(dotDensityDemographicStyle);
        }
 private void InitializeProperties()
 {
     toolTip = new ToolTip();
     DotDensityVisibility  = Visibility.Collapsed;
     ValueCircleVisibility = Visibility.Collapsed;
     DisplayColorText      = "Display Color:";
     colorWheelDirections  = new ObservableCollection <ColorWheelDirection>();
     colorWheelDirections.Add(ColorWheelDirection.Clockwise);
     colorWheelDirections.Add(ColorWheelDirection.CounterClockwise);
     categoryList            = new ObservableCollection <DataCategoryViewModel>();
     valueCircleStyleBuilder = new ValueCircleDemographicStyleBuilder();
     dotDensityStyleBuilder  = new DotDensityDemographicStyleBuilder();
     pieStyleBuilder         = new PieChartDemographicStyleBuilder();
     thematicStyleBuilder    = new ThematicDemographicStyleBuilder();
 }
 private void InitializeProperties()
 {
     toolTip = new ToolTip();
     DotDensityVisibility = Visibility.Collapsed;
     ValueCircleVisibility = Visibility.Collapsed;
     DisplayColorText = "Display Color:";
     colorWheelDirections = new ObservableCollection<ColorWheelDirection>();
     colorWheelDirections.Add(ColorWheelDirection.Clockwise);
     colorWheelDirections.Add(ColorWheelDirection.CounterClockwise);
     categoryList = new ObservableCollection<DataCategoryViewModel>();
     valueCircleStyleBuilder = new ValueCircleDemographicStyleBuilder();
     dotDensityStyleBuilder = new DotDensityDemographicStyleBuilder();
     pieStyleBuilder = new PieChartDemographicStyleBuilder();
     thematicStyleBuilder = new ThematicDemographicStyleBuilder();
 }