3 writes to Common
System.Web.DataVisualization (3)
Common\DataManager\DataManager.cs (1)
86
Common
= new CommonElements(container);
Common\General\Chart.cs (1)
1550
Common
= new CommonElements(container);
Common\General\ChartGraphics.cs (1)
5621
base.
Common
= common;
480 references to Common
System.Web.DataVisualization (480)
Common\Annotation\AnnotationBase.cs (5)
2047
if (this.
Common
.ProcessModePaint &&
2048
!this.
Common
.ChartPicture.isPrinting)
2823
this.
Common
,
4119
if (this.
Common
!= null)
4121
return this.
Common
.graph;
Common\Annotation\ArrowAnnotation.cs (3)
333
if (this.
Common
.ProcessModePaint)
354
if (this.
Common
.ProcessModeRegions)
357
this.
Common
.HotRegionsList.AddHotRegion(
Common\Annotation\CalloutAnnotation.cs (4)
680
if(this.
Common
.ProcessModePaint)
733
if(this.
Common
.ProcessModeRegions)
747
this.
Common
.HotRegionsList.AddHotRegion(
772
this.
Common
.HotRegionsList.AddHotRegion(
Common\Annotation\GroupAnnotation.cs (4)
913
if( (this.
Common
.ProcessModePaint && this.IsSelected) ||
914
this.
Common
.ProcessModeRegions )
948
if(this.
Common
.ProcessModeRegions)
951
this.
Common
.HotRegionsList.AddHotRegion(
Common\Annotation\ImageAnnotation.cs (4)
552
if(this.
Common
.ProcessModePaint)
614
if(this.
Common
.ProcessModeRegions)
617
this.
Common
.HotRegionsList.AddHotRegion(
698
ImageLoader imageLoader = this.
Common
.ImageLoader;
Common\Annotation\LineAnnotation.cs (3)
658
if(this.
Common
.ProcessModePaint)
671
if(this.
Common
.ProcessModeRegions)
699
this.
Common
.HotRegionsList.AddHotRegion(
Common\Annotation\PolygonAnnotation.cs (3)
688
if (this.
Common
.ProcessModePaint)
733
if (this.
Common
.ProcessModeRegions)
769
this.
Common
.HotRegionsList.AddHotRegion(
Common\Annotation\RectangleAnnotation.cs (4)
417
this.
Common
.ProcessModePaint)
654
if(this.
Common
.ProcessModePaint)
701
this.
Common
!= null)
703
IBorderType border3D = this.
Common
.BorderTypeRegistry.GetBorderType(_borderSkin.SkinStyle.ToString());
Common\Annotation\TextAnnotation.cs (12)
447
if(this.
Common
.ProcessModePaint)
452
if(this.
Common
.ProcessModeRegions)
460
this.
Common
.HotRegionsList.AddHotRegion(
480
this.
Common
.HotRegionsList.AddHotRegion(
935
if(GetGraphics() == null && this.
Common
!= null)
937
graphicsImage = new System.Drawing.Bitmap(
Common
.ChartPicture.Width,
Common
.ChartPicture.Height);
939
tempChartGraph = new ChartGraphics(
Common
);
941
tempChartGraph.SetPictureSize(
Common
.ChartPicture.Width,
Common
.ChartPicture.Height );
942
this.
Common
.graph = tempChartGraph;
992
this.
Common
.graph = null;
Common\ChartTypes\BarChart.cs (1)
397
bool indexedSeries = ChartHelper.IndexedSeries(area.
Common
, typeSeries.ToArray());
Common\ChartTypes\BoxPlotChart.cs (2)
256
bool indexedSeries = ChartHelper.IndexedSeries(area.
Common
, typeSeries.ToArray() );
798
area.
Common
,
Common\ChartTypes\BubbleChart.cs (1)
474
foreach( Series ser in area.
Common
.DataManager.Series )
Common\ChartTypes\ErrorBarChart.cs (1)
859
area.
Common
,
Common\ChartTypes\FastLineChart.cs (2)
344
double xPixelConverter = (graph.
Common
.ChartPicture.Width - 1.0) / 100.0;
345
double yPixelConverter = (graph.
Common
.ChartPicture.Height - 1.0) / 100.0;
Common\ChartTypes\FastPointChart.cs (2)
347
double xPixelConverter = (graph.
Common
.ChartPicture.Width - 1.0) / 100.0;
348
double yPixelConverter = (graph.
Common
.ChartPicture.Height - 1.0) / 100.0;
Common\ChartTypes\KagiChart.cs (2)
657
(float)(xPosition * (graph.
Common
.ChartPicture.Width - 1) / 100F),
658
(float)(yPosition * (graph.
Common
.ChartPicture.Height - 1) / 100F));
Common\ChartTypes\LineChart.cs (8)
397
float chartWidthPercentage = (graph.
Common
.ChartPicture.Width - 1) / 100F;
398
float chartHeightPercentage = (graph.
Common
.ChartPicture.Height - 1) / 100F;
988
RectangleF rect = new RectangleF(0, 0, graph.
Common
.ChartPicture.Width, graph.
Common
.ChartPicture.Height);
993
adjustedPoint2 = rect.Contains(pt2) ? pt2 : GetIntersectionY(pt1, pt2, graph.
Common
.ChartPicture.Height);
999
adjustedPoint2 = rect.Contains(pt2) ? pt2 : GetIntersectionX(pt1, pt2, graph.
Common
.ChartPicture.Width);
1181
(float)xPosition * (graph.
Common
.ChartPicture.Width - 1) / 100F,
1182
(float)yPosition * (graph.
Common
.ChartPicture.Height - 1) / 100F);
Common\ChartTypes\PieChart.cs (5)
618
SeriesCollection dataSeries = area.
Common
.DataManager.Series;
1274
area.
Common
,
1429
area.
Common
,
5527
graph.
Common
,
5589
graph.
Common
,
Common\ChartTypes\RangeChart.cs (1)
1525
GetBottomPointsPosition(area.
Common
, area, 0, ref firstPoint, ref secondPoint, out thirdPoint, out fourthPoint);
Common\ChartTypes\StackedAreaChart.cs (6)
1175
area.
Common
,
1185
area.
Common
,
1224
foreach(Series ser in area.
Common
.DataManager.Series)
1257
foreach(Series ser in area.
Common
.DataManager.Series)
1311
double yValue = GetYValue(area.
Common
, area, firstPoint.dataPoint.series, firstPoint.dataPoint, firstPoint.index - 1, 0);
1340
yValue = GetYValue(area.
Common
, area, secondPoint.dataPoint.series, secondPoint.dataPoint, secondPoint.index - 1, 0);
Common\ChartTypes\StepLineChart.cs (2)
385
if( area.
Common
.ProcessModeRegions)
389
area.
Common
.HotRegionsList.AddHotRegion(
Common\Converters\CustomAttributesConverters.cs (2)
191
series.
Common
!= null)
194
CustomPropertyRegistry registry = (CustomPropertyRegistry)series.
Common
.container.GetService(typeof(CustomPropertyRegistry));
Common\Converters\LegendConverters.cs (12)
89
if(legend.
Common
!= null && legend.
Common
.ChartPicture != null)
91
areaCollection = legend.
Common
.ChartPicture.ChartAreas;
97
if(area.
Common
!= null && area.
Common
.ChartPicture != null)
99
areaCollection = area.
Common
.ChartPicture.ChartAreas;
136
if (legend.
Common
!= null && legend.
Common
.ChartPicture != null)
138
areaCollection = legend.
Common
.ChartPicture.ChartAreas;
144
if (area.
Common
!= null && area.
Common
.ChartPicture != null)
146
areaCollection = area.
Common
.ChartPicture.ChartAreas;
Common\DataManager\DataManager.cs (4)
359
returnValue = Math.Max(returnValue, seriesPoint.YValues[0] + BubbleChart.AxisScaleBubbleSize(area.
Common
, area, seriesPoint.YValues[1], true));
394
returnValue = Math.Max(returnValue, seriesPoint.XValue + BubbleChart.AxisScaleBubbleSize(area.
Common
, area, seriesPoint.XValue, false));
429
returnValue = Math.Min(returnValue, seriesPoint.XValue - BubbleChart.AxisScaleBubbleSize(area.
Common
, area, seriesPoint.YValues[1], false));
777
returnValue = Math.Min(returnValue, seriesPoint.YValues[0] - BubbleChart.AxisScaleBubbleSize(area.
Common
, area, seriesPoint.YValues[1], true));
Common\DataManager\DataPoint.cs (4)
2229
if (
Common
!=null &&
Common
.ChartPicture!=null &&
Common
.ChartPicture.SuppressExceptions)
6975
CustomPropertyRegistry registry = (CustomPropertyRegistry)this.DataPointCustomProperties.
Common
.container.GetService(typeof(CustomPropertyRegistry));
Common\DataManager\DataSeries.cs (11)
954
DataManager dataManager = this.
Common
.DataManager;
1815
if(this.
Common
!=null && this.
Common
.ChartPicture!=null)
1817
this.
Common
.ChartPicture.boundToDataSource = false;
1858
if(this.
Common
!= null && this.
Common
.ChartPicture!=null)
1860
this.
Common
.ChartPicture.boundToDataSource = false;
1993
if(this._checkPointsNumber && this.ChartTypeName.Length > 0 && this.
Common
!= null)
1996
ChartTypeRegistry chartTypeRegistry = this.
Common
.ChartTypeRegistry;
2432
if(
Common
!= null)
2434
ChartTypeRegistry chartTypeRegistry =
Common
.ChartTypeRegistry;
Common\General\Axis.cs (41)
1956
if (this.
Common
.ProcessModeRegions)
1982
this.
Common
.HotRegionsList.AddHotRegion(
2084
if (this.
Common
.ProcessModeRegions)
2095
this.
Common
.HotRegionsList.AddHotRegion(path, false, ChartElementType.Gridlines, obj);
2179
if (this.
Common
.ProcessModeRegions)
2198
this.
Common
.HotRegionsList.AddHotRegion(path, false, ChartElementType.Gridlines, obj);
2451
if (
Common
.ProcessModeRegions)
2455
this.
Common
.HotRegionsList.AddHotRegion(hotPath, false, ChartElementType.AxisTitle, this);
2539
if (
Common
.ProcessModePaint)
2601
if (
Common
.ProcessModeRegions)
2731
Common
.HotRegionsList.AddHotRegion(
2802
Common
,
2832
Common
,
2863
Common
,
2895
Common
,
3043
strip.Paint(graph, this.
Common
, drawLinesOnly);
3118
if (
Common
.Chart.BackColor != Color.Transparent &&
Common
.Chart.BackColor != Color.Black)
3120
stripLine.BackColor = ChartGraphics.GetGradientColor(
Common
.Chart.BackColor, Color.Black, 0.2);
3322
if (
Common
.Chart != null)
3324
if (!
Common
.Chart.serializing)
3678
this.autoLabelFont =
Common
.Chart.chartPicture.FontCache.GetFont(this.LabelStyle.Font.FontFamily,
3731
autoLabelFont =
Common
.Chart.chartPicture.FontCache.GetFont(this.LabelStyle.Font.FontFamily,
3778
autoLabelFont =
Common
.Chart.chartPicture.FontCache.GetFont(
3911
autoLabelFont =
Common
.Chart.chartPicture.FontCache.GetFont(
3949
autoLabelFont =
Common
.Chart.chartPicture.FontCache.GetFont(
4763
this.autoLabelFont =
Common
.Chart.chartPicture.FontCache.GetFont(
4800
autoLabelFont =
Common
.Chart.chartPicture.FontCache.GetFont(
5113
currentAxis.autoLabelFont =
Common
.Chart.chartPicture.FontCache.GetFont(
5123
autoLabelFont =
Common
.Chart.chartPicture.FontCache.GetFont(
5320
if (this.
Common
.ImageLoader.GetAdjustedImageSize(label.Image, chartGraph.Graphics, ref imageAbsSize))
5491
if(this.
Common
.ImageLoader.GetAdjustedImageSize(label.Image, chartGraph.Graphics, ref imageAbsSize))
5725
if (this.
Common
.ImageLoader.GetAdjustedImageSize(label.Image, chartGraph.Graphics, ref imageAbsSize))
5948
if(this.
Common
.ImageLoader.GetAdjustedImageSize(label.Image, chartGraph.Graphics, ref imageAbsSize))
6066
if (this.
Common
!= null && this.
Common
.DataManager.Series != null && ChartArea != null)
6068
foreach (Series series in this.
Common
.DataManager.Series)
6209
sizeOpposite = (double)(_lineWidth) *
Common
.Width /
Common
.Height;
6213
size = (double)(_lineWidth) *
Common
.Width /
Common
.Height;
Common\General\AxisLabels.cs (21)
197
Series series = this.
Common
.DataManager.Series[seriesName];
367
bool seriesXValuesZeros = ChartHelper.SeriesXValuesZeros(this.
Common
, dataSeriesNames);
373
indexedSeries = ChartHelper.IndexedSeries(this.
Common
, dataSeriesNames);
384
IChartType chartType =
Common
.ChartTypeRegistry.GetChartType( ChartArea.GetFirstSeries().ChartTypeName );
400
if (fromSeries && !ChartHelper.SeriesXValuesZeros(this.
Common
, dataSeries.ToArray()))
416
valueType =
Common
.DataManager.Series[dataSeries[0]].indexedXValueType;
420
valueType =
Common
.DataManager.Series[dataSeries[0]].YValueType;
446
numOfPoints =
Common
.DataManager.GetNumberOfPoints( dataSeries.ToArray() );
453
this.
Common
.Chart,
468
this.
Common
.Chart,
484
this.
Common
.Chart,
504
foreach( DataPoint dataPoint in
Common
.DataManager.Series[ seriesIndx ].Points )
545
axisSeries =
Common
.DataManager.Series[seriesArray[0]];
654
if( position != this.maximum || !
Common
.DataManager.Series[ dataSeries[0] ].IsXValueIndexed )
659
this.
Common
.Chart,
755
if( !(
Common
.DataManager.Series[ dataSeries[0] ].IsXValueIndexed && position > this.maximum) )
761
this.
Common
.Chart,
806
Series ser =
Common
.DataManager.Series[seriesName];
815
Series ser =
Common
.DataManager.Series[ seriesName ];
841
Series labelsSeries =
Common
.DataManager.Series[labelSeriesName];
912
this.
Common
.Chart,
Common\General\AxisScale.cs (29)
990
val *= (this.
Common
.ChartPicture.Width - 1) / 100F;
994
val *= (this.
Common
.ChartPicture.Height - 1) / 100F;
1082
val *= 100F / ((float)(this.
Common
.ChartPicture.Width - 1));
1086
val *= 100F / ((float)(this.
Common
.ChartPicture.Height - 1));
1613
if(
Common
.DataManager.Series[list[0]].IsXValueDateTime() )
1615
dateType =
Common
.DataManager.Series[list[0]].XValueType;
1627
if(
Common
.DataManager.Series[list[0]].IsXValueDateTime() )
1629
dateType =
Common
.DataManager.Series[list[0]].XValueType;
1641
if(
Common
.DataManager.Series[list[0]].IsYValueDateTime() )
1643
dateType =
Common
.DataManager.Series[list[0]].YValueType;
1655
if(
Common
.DataManager.Series[list[0]].IsYValueDateTime() )
1657
dateType =
Common
.DataManager.Series[list[0]].YValueType;
1673
if(
Common
.ChartTypeRegistry.GetChartType( (string)ChartArea.ChartTypes[0] ).ZeroCrossing )
1760
else if(
Common
.DataManager.Series[list[0]].YAxisType == AxisType.Primary )
1761
oppositeAxis = ChartArea.AxisY.GetSubAxis(
Common
.DataManager.Series[list[0]].YSubAxisName);
1763
oppositeAxis = ChartArea.AxisY2.GetSubAxis(
Common
.DataManager.Series[list[0]].YSubAxisName);
1772
else if(
Common
.DataManager.Series[list[0]].YAxisType == AxisType.Primary)
1773
oppositeAxis = ChartArea.AxisY.GetSubAxis(
Common
.DataManager.Series[list[0]].YSubAxisName);
1775
oppositeAxis = ChartArea.AxisY2.GetSubAxis(
Common
.DataManager.Series[list[0]].YSubAxisName);
1784
else if(
Common
.DataManager.Series[list[0]].XAxisType == AxisType.Primary )
1785
oppositeAxis = ChartArea.AxisX.GetSubAxis(
Common
.DataManager.Series[list[0]].XSubAxisName);
1787
oppositeAxis = ChartArea.AxisX2.GetSubAxis(
Common
.DataManager.Series[list[0]].XSubAxisName);
1796
else if(
Common
.DataManager.Series[list[0]].XAxisType == AxisType.Primary )
1797
oppositeAxis = ChartArea.AxisX.GetSubAxis(
Common
.DataManager.Series[list[0]].XSubAxisName);
1799
oppositeAxis = ChartArea.AxisX2.GetSubAxis(
Common
.DataManager.Series[list[0]].XSubAxisName);
2004
if(!this.
Common
.ChartPicture.SuppressExceptions)
2079
if(this.
Common
!= null && this.
Common
.Chart != null && this.
Common
.Chart.chartPicture.SuppressExceptions)
Common\General\AxisScaleBreaks.cs (6)
427
if(this.axis == null || this.axis.ChartArea == null || this.axis.ChartArea.
Common
.Chart == null)
470
IChartType chartType = this.axis.ChartArea.
Common
.ChartTypeRegistry.GetChartType(series.ChartTypeName);
496
if(axis != null && axis.ChartArea != null && axis.ChartArea.
Common
.Chart != null)
499
foreach(Series series in axis.ChartArea.
Common
.Chart.Series)
962
axis.
Common
.DataManager.GetMinMaxYValue(axisSeries, out minYValue, out maxYValue);
993
IChartType chartType = this.axis.ChartArea.
Common
.ChartTypeRegistry.GetChartType(series.ChartTypeName);
Common\General\AxisScaleSegments.cs (1)
510
Chart chart = this.axis.ChartArea.
Common
.Chart;
Common\General\AxisScrollZoom.cs (9)
234
if(this.axis != null && this.axis.ChartArea != null && this.axis.
Common
!= null && this.axis.
Common
.ChartPicture != null)
240
this.axis.
Common
.ChartPicture.AlignChartAreasAxesView(this.axis.ChartArea, orientation);
291
if(this.axis != null && this.axis.ChartArea != null && this.axis.
Common
!= null && this.axis.
Common
.ChartPicture != null)
297
this.axis.
Common
.ChartPicture.AlignChartAreasAxesView(this.axis.ChartArea, orientation);
337
if(this.axis != null && this.axis.ChartArea != null && this.axis.
Common
!= null && this.axis.
Common
.ChartPicture != null)
343
this.axis.
Common
.ChartPicture.AlignChartAreasAxesView(this.axis.ChartArea, orientation);
Common\General\BaseClasses.cs (3)
100
if (
Common
!= null)
101
return
Common
.Chart;
158
get{ return this.
Common
; }
Common\General\Chart.cs (41)
706
if(dataSource != null && this.
Common
!= null)
714
foreach(Series series in this.
Common
.Chart.Series)
717
if (this.
Common
.Chart.IsDesignMode())
913
if (this.
Common
.Chart.IsDesignMode())
945
foreach(Series series in this.
Common
.Chart.Series)
1348
this.
Common
.Chart.Series.Add(series);
1429
this.
Common
.Chart.Series.Add(series);
1551
ChartGraph= new ChartGraphics(
Common
);
1552
hotRegionsList = new HotRegionsList(
Common
);
1570
_dataManipulator.Common =
Common
;
1610
this.
Common
.HotRegionsList.ProcessChartMode |= ProcessMode.HotRegions;
1620
this.
Common
.HotRegionsList.Clear();
1651
this.
Common
.HotRegionsList.ProcessChartMode |= ProcessMode.HotRegions;
1765
Common
.HotRegionsList.ProcessChartMode |= ProcessMode.ImageMaps | ProcessMode.Paint;
1786
if(this.
Common
!= null && this.
Common
.Chart != null && !this.
Common
.Chart.IsDesignMode())
1788
this.
Common
.Chart.DataBind();
1795
Common
.graph = ChartGraph;
1808
OnBeforePaint(new ChartPaintEventArgs(this.Chart, this.ChartGraph, this.
Common
, new ElementPosition(0, 0, 100, 100)));
1835
this.
Common
.Chart.CallOnCustomize();
1871
this.
Common
.Chart.CallOnCustomize();
1935
this.Chart.CallOnPrePaint(new ChartPaintEventArgs(this.Chart, this.ChartGraph, this.
Common
, new ElementPosition(0, 0, 100, 100)));
1971
this.Chart.CallOnPostPaint(new ChartPaintEventArgs(this.Chart, this.ChartGraph, this.
Common
, new ElementPosition(0, 0, 100, 100)));
2013
OnAfterPaint(new ChartPaintEventArgs(this.Chart, this.ChartGraph, this.
Common
, new ElementPosition(0, 0, 100, 100)));
2093
Common
.Width = _width;
2094
Common
.Height = _height;
2116
border3D =
Common
.BorderTypeRegistry.GetBorderType(_borderSkin.SkinStyle.ToString());
2600
Common
.Width = _width;
2647
Common
.Height = value;
3475
ChartSerializer serializer = (ChartSerializer)this.
Common
.container.GetService(typeof(ChartSerializer));
3534
if (this.
Common
!= null &&
3535
this.
Common
.Chart != null &&
3536
this.
Common
.Chart.Page != null)
3541
this.
Common
.Chart.Page.MapPath(url),
3584
if (this.
Common
!= null && this.
Common
.Chart != null)
3586
string webFormUrl = this.
Common
.Chart.webFormDocumentURL;
3674
Common
.Chart.CallOnCustomizeMapAreas(custCollection);
3688
area.RenderTag(output, this.
Common
.Chart);
3742
foreach( Series series in
Common
.DataManager.Series )
Common\General\ChartArea.cs (31)
660
if (this.
Common
!= null && this.
Common
.Chart != null && this.
Common
.Chart.serializationStatus == SerializationStatus.Saving)
2104
if (
Common
.ProcessModeRegions)
2106
Common
.HotRegionsList.AddHotRegion(backgroundPosition, this, ChartElementType.PlottingArea, true);
2112
Common
.Chart.CallOnPrePaint(new ChartPaintEventArgs(this, graph,
Common
, PlotAreaPosition));
2123
IChartType chartType =
Common
.ChartTypeRegistry.GetChartType((string)ChartTypes[chartTypeIndex]);
2126
chartType.Paint(graph,
Common
, this, null);
2132
Common
.Chart.CallOnPostPaint(new ChartPaintEventArgs(this, graph,
Common
, PlotAreaPosition));
2300
IChartType type =
Common
.ChartTypeRegistry.GetChartType(chartTypeInfo.ChartType);
2303
type.Paint(graph,
Common
, this, chartTypeInfo.Series);
2350
Common
.Chart.CallOnPostPaint(new ChartPaintEventArgs(this, graph,
Common
, PlotAreaPosition));
2387
foreach( Series series in this.
Common
.Chart.Series )
2432
if(this.
Common
!= null &&
2433
this.
Common
.ChartPicture != null &&
2434
this.
Common
.ChartPicture.isPrinting)
2538
foreach(Series series in this.
Common
.DataManager.Series)
2542
ICircularChartType type =
Common
.ChartTypeRegistry.GetChartType(series.ChartTypeName) as ICircularChartType;;
2595
this.AxisX.autoLabelFont =
Common
.ChartPicture.FontCache.GetFont(
2773
foreach(Series series in this.
Common
.DataManager.Series)
2811
foreach(Series series in this.
Common
.DataManager.Series)
2880
return type.GetNumerOfSectors(this, this.
Common
.DataManager.Series);
2915
foreach(Series series in this.
Common
.DataManager.Series)
2980
foreach (Series series in this.
Common
.DataManager.Series)
3017
for (int curentSeriesIndex = seriesIndex + 1; curentSeriesIndex < this.
Common
.DataManager.Series.Count; curentSeriesIndex++)
3019
if (series.ChartTypeName == this.
Common
.DataManager.Series[curentSeriesIndex].ChartTypeName)
3029
if (this.
Common
.DataManager.Series[curentSeriesIndex].ChartType == SeriesChartType.Area ||
3030
this.
Common
.DataManager.Series[curentSeriesIndex].ChartType == SeriesChartType.SplineArea)
Common\General\ChartArea3D.cs (29)
865
bool indexedSeries = ChartHelper.IndexedSeries(this.
Common
, this._series.ToArray());
871
smallestIntervalSeries = this.
Common
.DataManager.Series[(string)this._series[0]];
878
Series firstSeries = this.
Common
.DataManager.Series[this._series[0]];
899
drawSideBySide =
Common
.ChartTypeRegistry.GetChartType(smallestIntervalSeries.ChartTypeName).SideBySideSeries;
902
if(this.
Common
.DataManager.Series[seriesName].IsCustomPropertySet(CustomPropertyName.DrawSideBySide))
904
string attribValue = this.
Common
.DataManager.Series[seriesName][CustomPropertyName.DrawSideBySide];
949
Series curSeries = this.
Common
.DataManager.Series[seriesName];
972
if(
Common
.ChartTypeRegistry.GetChartType(smallestIntervalSeries.ChartTypeName).SupportStackedGroups)
980
Series curSeries = this.
Common
.DataManager.Series[seriesName];
1010
this.
Common
.graph,
1022
this.
Common
.graph,
1077
Series curSeries = this.
Common
.DataManager.Series[seriesName];
1082
Common
.ChartTypeRegistry.GetChartType(curSeries.ChartTypeName).SupportStackedGroups)
1097
Series ser = this.
Common
.DataManager.Series[name];
1118
else if(
Common
.ChartTypeRegistry.GetChartType(curSeries.ChartTypeName).Stacked ||
1119
(this.Area3DStyle.IsClustered &&
Common
.ChartTypeRegistry.GetChartType(curSeries.ChartTypeName).SideBySideSeries) )
1131
Series ser = this.
Common
.DataManager.Series[name];
1565
type =
Common
.ChartTypeRegistry.GetChartType(series.ChartTypeName);
1566
type.Paint( graph,
Common
, area, series );
1609
Series series =
Common
.DataManager.Series[seriesNames[0]];
1673
Series ser = this.
Common
.DataManager.Series[(string)seriesName];
1768
bool indexedSeries = ChartHelper.IndexedSeries(this.
Common
, seriesNamesList.ToArray());
1777
Series ser = this.
Common
.DataManager.Series[(string)seriesName];
1821
double width = ser.GetPointWidth(area.
Common
.graph, hAxis, interval, 0.8) / numOfSeries;
1868
pointEx.width = ser.GetPointWidth(area.
Common
.graph, hAxis, interval, 0.8) / numOfSeries;
1873
double yValue = chartType.GetYValue(
Common
, area, ser, point, index - 1, mainYValueIndex);
1879
pointEx.height = vAxis.GetPosition(yValue - chartType.GetYValue(
Common
, area, ser, point, index - 1, -1));
2092
interval.Width = interval.Width * 100F / ((float)(this.
Common
.Chart.Width.Value - 1));
2093
interval.Height = interval.Height * 100F / ((float)(this.
Common
.Chart.Height.Value - 1));
Common\General\ChartAreaAxes.cs (51)
444
Series series =
Common
.DataManager.Series[seriesName];
506
Series dataSeries =
Common
.DataManager.Series[ ser ];
626
Series dataSeries =
Common
.DataManager.Series[ seriesName ];
695
if(!this.
Common
.ChartPicture.SuppressExceptions)
815
if(this.
Common
.ChartPicture.SuppressExceptions &&
836
Series ser =
Common
.DataManager.Series[ seriesName ];
944
Series ser =
Common
.DataManager.Series[ seriesName ];
1077
Common
.DataManager.GetMinMaxXValue(out autoMinimum, out autoMaximum, xAxesSeries );
1088
autoMaximum =
Common
.DataManager.GetMaxXWithRadiusValue( (ChartArea)this, xAxesSeries );
1089
autoMinimum =
Common
.DataManager.GetMinXWithRadiusValue( (ChartArea)this, xAxesSeries );
1090
ChartValueType valueTypes =
Common
.DataManager.Series[xAxesSeries[0]].XValueType;
1101
Common
.DataManager.GetMinMaxXValue(out autoMinimum, out autoMaximum, xAxesSeries );
1116
autoMaximum =
Common
.DataManager.GetMaxHundredPercentStackedYValue(hundredPercentNegative, yAxesSeries );
1117
autoMinimum =
Common
.DataManager.GetMinHundredPercentStackedYValue(hundredPercentNegative, yAxesSeries );
1133
double stackMaxBarColumnForGroup =
Common
.DataManager.GetMaxStackedYValue(0, groupSeriesNames );
1134
double stackMinBarColumnForGroup =
Common
.DataManager.GetMinStackedYValue(0, groupSeriesNames );
1137
double stackMaxAreaForGroup =
Common
.DataManager.GetMaxUnsignedStackedYValue(0, groupSeriesNames );
1138
double stackMinAreaForGroup =
Common
.DataManager.GetMinUnsignedStackedYValue(0, groupSeriesNames );
1163
autoMaximum =
Common
.DataManager.GetMaxYWithRadiusValue( (ChartArea)this, yAxesSeries );
1164
autoMinimum =
Common
.DataManager.GetMinYWithRadiusValue( (ChartArea)this, yAxesSeries );
1174
if(this.
Common
!= null && this.
Common
.Chart != null)
1176
foreach(Series series in this.
Common
.Chart.Series)
1180
IChartType charType =
Common
.ChartTypeRegistry.GetChartType( series.ChartTypeName );
1193
Common
.DataManager.GetMinMaxYValue(out autoMinimum, out autoMaximum, yAxesSeries );
1197
Common
.DataManager.GetMinMaxYValue(0, out autoMinimum, out autoMaximum, yAxesSeries );
1228
Series series = this.
Common
.Chart.Series[seriesName];
1282
foreach( Series series in
Common
.DataManager.Series )
1309
double autoMaximum =
Common
.DataManager.GetNumberOfPoints( GetXAxesSeries( type, axis.SubAxisName ).ToArray() );
1407
foreach( Series series in
Common
.DataManager.Series )
1419
foreach( Series series in
Common
.DataManager.Series )
1438
if(
Common
.ChartTypeRegistry.GetChartType(series.ChartTypeName).Stacked )
1445
if(
Common
.ChartTypeRegistry.GetChartType(series.ChartTypeName).SwitchValueAxes )
1447
if( !
Common
.ChartTypeRegistry.GetChartType(series.ChartTypeName).RequireAxes )
1449
if(
Common
.ChartTypeRegistry.GetChartType(series.ChartTypeName).CircularChartArea )
1451
if(
Common
.ChartTypeRegistry.GetChartType(series.ChartTypeName).HundredPercent )
1453
if(
Common
.ChartTypeRegistry.GetChartType(series.ChartTypeName).HundredPercentSupportNegative )
1455
if(
Common
.ChartTypeRegistry.GetChartType(series.ChartTypeName).SecondYScale )
1462
if(
Common
.ChartTypeRegistry.GetChartType(series.ChartTypeName).SwitchValueAxes != switchValueAxes )
1469
if(
Common
.DataManager.GetNumberOfPoints( series.Name ) != 0 )
1490
if (
Common
.DataManager.Series[seriesName].IsXValueIndexed)
1500
Common
.DataManipulator.CheckXValuesAlignment(
1501
Common
.DataManipulator.ConvertToSeriesArray(seriesNamesStr.TrimEnd(','), false));
1531
if( String.Compare( chartType,
Common
.DataManager.Series[seriesName].ChartTypeName, StringComparison.OrdinalIgnoreCase ) == 0 )
1552
list.Add(
Common
.DataManager.Series[seriesName]);
1588
if (
Common
.DataManager.Series[ser].XAxisType == type)
1635
AxisType seriesYAxisType =
Common
.DataManager.Series[ser].YAxisType;
1642
if (
Common
.DataManager.Series[ser].ChartType == SeriesChartType.Radar ||
1643
Common
.DataManager.Series[ser].ChartType == SeriesChartType.Polar)
1694
return
Common
.DataManager.Series[_series[0]];
1788
Series dataSeries =
Common
.DataManager.Series[ ser ];
Common\General\ChartGraphics.cs (4)
1809
CommonElements common = axis.
Common
;
2129
labelImage = axis.
Common
.ImageLoader.LoadImage(label.Image);
5738
if (
Common
== null)
5742
return
Common
.ChartPicture.RightToLeft == RightToLeft.Yes;
Common\General\ChartGraphics3D.cs (3)
702
CommonElements common = area.
Common
;
833
CommonElements common = area.
Common
;
957
CommonElements common = area.
Common
;
Common\General\GridTickMarks.cs (16)
201
axisSeries = Axis.
Common
.DataManager.Series[seriesArray[0]];
497
if (Axis.
Common
.ProcessModeRegions)
506
this.Axis.
Common
.HotRegionsList.AddHotRegion(
517
Axis.
Common
.HotRegionsList.AddHotRegion(rect, this, ChartElementType.TickMarks, true);
521
if (!Axis.
Common
.ProcessModePaint) //if ProcessModePaint is true it will be called later
527
if (Axis.
Common
.ProcessModePaint)
746
if (Axis.
Common
.ProcessModeRegions)
752
Axis.
Common
.HotRegionsList.AddHotRegion(rect, this, ChartElementType.TickMarks, true);
760
if (Axis.
Common
.ProcessModePaint)
985
Axis.
Common
,
1001
Axis.
Common
,
1262
axisSeries = _axis.
Common
.DataManager.Series[seriesArray[0]];
1461
CommonElements common = this._axis.
Common
;
1540
graph.Draw3DGridLine( this._axis.ChartArea, borderColor, borderWidth, borderDashStyle, first, second, ( _axis.AxisPosition == AxisPosition.Left || _axis.AxisPosition == AxisPosition.Right ), _axis.
Common
, this );
1552
CommonElements common = this._axis.
Common
;
1623
graph.Draw3DGridLine(this._axis.ChartArea, borderColor, borderWidth, borderDashStyle, first, second, ( _axis.AxisPosition == AxisPosition.Left || _axis.AxisPosition == AxisPosition.Right ), _axis.
Common
, this );
Common\General\Label.cs (12)
1269
if (this._axis.
Common
.ProcessModeRegions)
1289
this._axis.
Common
.HotRegionsList.AddHotRegion(
1530
axisSeries = _axis.
Common
.DataManager.Series[seriesArray[0]];
2750
if (this._axis != null && this._axis.
Common
!=null && this._axis.
Common
.Chart != null)
2752
if(!this._axis.
Common
.Chart.serializing)
2824
if(this._axis != null && this._axis.
Common
!=null && this._axis.
Common
.Chart != null)
2826
if (!this._axis.
Common
.Chart.serializing)
2865
if (this._axis != null && this._axis.
Common
!= null && this._axis.
Common
.Chart != null)
2867
if (!this._axis.
Common
.Chart.serializing)
Common\General\Legend.cs (42)
592
this.autofitFont = this.
Common
.ChartPicture.FontCache.GetFont(
906
this.
Common
.Chart.CallOnCustomizeLegend(legendItems, this.Name);
1013
this.autofitFont = this.
Common
.ChartPicture.FontCache.GetFont(
1651
Common
.HotRegionsList.AddHotRegion(this.Position.ToRectangleF(), this, ChartElementType.LegendArea, true);
2076
foreach(Series series in this.
Common
.DataManager.Series)
2078
if (this.
Common
.ChartPicture.Legends.IndexOf(series.Legend)<0)
2088
foreach(Series series in this.
Common
.DataManager.Series)
2092
if (this.
Common
.ChartPicture.Legends[series.Legend] != this)
2102
foreach(ChartArea area in this.
Common
.ChartPicture.ChartAreas)
2115
IChartType chartType = this.
Common
.ChartTypeRegistry.GetChartType(series.ChartTypeName);
2166
bool area3D = this.
Common
.Chart.ChartAreas[series.ChartArea].Area3DStyle.Enable3D;
2169
item.SetAttributes(this.
Common
, series);
2241
item.SetAttributes(this.
Common
, series);
2301
if(legendItems.Count == 0 && this.
Common
!= null && this.
Common
.Chart != null)
2303
if(this.
Common
.Chart.IsDesignMode())
2362
this.
Common
.Chart.CallOnCustomizeLegend(legendItems, this.Name);
2382
if(
Common
.ProcessModePaint )
2402
Common
.Chart.CallOnPrePaint(new ChartPaintEventArgs(this, chartGraph,
Common
, Position));
2405
if(
Common
.ProcessModeRegions )
2423
if(
Common
.ProcessModeRegions && !this._titlePosition.IsEmpty)
2425
Common
.HotRegionsList.AddHotRegion(chartGraph.GetRelativeRectangle(this._titlePosition), this, ChartElementType.LegendTitle, true );
2568
if(
Common
.ProcessModePaint )
2570
Common
.Chart.CallOnPostPaint(new ChartPaintEventArgs(this, chartGraph,
Common
, Position));
2707
if (this.
Common
!= null && this.
Common
.Chart != null && this.
Common
.Chart.serializationStatus == SerializationStatus.Saving)
3620
if(this.
Common
!= null &&
3621
this.
Common
.Chart != null &&
3622
this.
Common
.Chart.serializing)
4252
if(
Common
.ProcessModeRegions && !this._headerPosition.IsEmpty)
4254
Common
.HotRegionsList.AddHotRegion(chartGraph.GetRelativeRectangle(this._headerPosition), this, ChartElementType.LegendHeader, true );
4734
this.
Common
!= null &&
4735
this.
Common
.ChartPicture != null)
4737
if(this.
Common
.ChartPicture.ChartAreas.IndexOf(this.DockedToChartArea) >= 0)
4740
ChartArea area = this.
Common
.ChartPicture.ChartAreas[this.DockedToChartArea];
6133
if (legend.
Common
!= null && legend.
Common
.ChartPicture.RightToLeft == RightToLeft.Yes)
6211
if(
Common
!= null)
6212
dpi =
Common
.graph.Graphics.DpiX;
Common\General\LegendColumns.cs (9)
1510
if (this.
Common
.ImageLoader.GetAdjustedImageSize(this.Image, graph.Graphics, ref imageSize))
1921
if( this.
Common
.ProcessModePaint )
1947
this.Chart.CallOnPrePaint(new ChartPaintEventArgs(this, chartGraph, this.
Common
, new ElementPosition(rectRelative.X, rectRelative.Y, rectRelative.Width, rectRelative.Height)));
1966
this.Chart.CallOnPostPaint(new ChartPaintEventArgs(this, chartGraph, this.
Common
, new ElementPosition(rectRelative.X, rectRelative.Y, rectRelative.Width, rectRelative.Height)));
1975
if( this.
Common
.ProcessModeRegions )
1979
this.
Common
.HotRegionsList.AddHotRegion(
2093
System.Drawing.Image image = this.
Common
.ImageLoader.LoadImage(this.Image);
2288
System.Drawing.Image image = this.
Common
.ImageLoader.LoadImage(legendItem.Image);
2431
System.Drawing.Image image = this.
Common
.ImageLoader.LoadImage(legendItem.markerImage);
Common\General\Selection.cs (4)
1586
return this.ChartPicture.
Common
.graph;
2011
ArrayList regionList = this.ChartPicture.
Common
.HotRegionsList.List;
2631
HotRegionsList hrList = this.ChartPicture.
Common
.HotRegionsList;
2952
ChartTypes.IChartType chartType = area.
Common
.ChartTypeRegistry.GetChartType(o.ToString());
Common\General\StripLine.cs (7)
273
axisSeries = Axis.
Common
.DataManager.Series[seriesArray[0]];
469
graph.Draw3DGridLine(this.Axis.ChartArea, _borderColor, _borderWidth, _borderDashStyle, point1, point2, horizontal, Axis.
Common
, this );
528
if( this.Axis.
Common
.ProcessModeRegions )
546
if( this.Axis.
Common
.ProcessModeRegions )
550
this.Axis.
Common
.HotRegionsList.AddHotRegion( graph, path, false, this.ToolTip, this.Url, this.MapAreaAttributes, this.PostBackValue, this, ChartElementType.StripLines );
597
if( this.Axis.
Common
.ProcessModeRegions )
600
this.Axis.
Common
.HotRegionsList.AddHotRegion( graph, path, false, this.ToolTip, this.Url, this.MapAreaAttributes, this.PostBackValue, this, ChartElementType.StripLines );
Common\General\Title.cs (13)
1364
if(!this.Position.Auto &&
Common
!= null &&
Common
.ChartPicture != null)
1370
(titlePosition.Width == 0) ?
Common
.ChartPicture.Width : titlePosition.Width,
1371
(titlePosition.Height == 0) ?
Common
.ChartPicture.Height : titlePosition.Height);
1452
if(this.BackGroundIsVisible &&
Common
.ProcessModePaint )
1557
if(
Common
.ProcessModePaint)
1558
Common
.Chart.CallOnPrePaint(new ChartPaintEventArgs(this, chartGraph,
Common
, Position));
1674
if (
Common
.ProcessModePaint)
1675
Common
.Chart.CallOnPostPaint(new ChartPaintEventArgs(this, chartGraph,
Common
, Position));
1685
if(
Common
.ProcessModeRegions )
1688
Common
.HotRegionsList.AddHotRegion( titlePosition, this.ToolTip, this.Url, this.MapAreaAttributes, this.PostBackValue, this, ChartElementType.Title, string.Empty );