private void ZoomLegend(ZoomFontInfo infos, Chart3DLegend legend) { if (legend == null) { return; } ZoomStyle(infos, legend.Style); }
private void ZoomLegend(ZoomBoundsInfo infos, Chart3DLegend legend) { if (legend == null) { return; } if (legend.LocationDefault.X > 0 || legend.LocationDefault.Y > 0) { legend.LocationDefault = ZoomPoint(infos, legend.LocationDefault); } if (legend.SizeDefault.Width > 0 || legend.SizeDefault.Height > 0) { legend.SizeDefault = ZoomSize(infos, legend.SizeDefault); } }