示例#1
0
        public Chart(AspNetCore.ReportingServices.OnDemandReportRendering.Chart source, PageContext pageContext, bool createForRepeat)
            : base(source, pageContext, createForRepeat)
        {
            ChartInstance chartInstance = (ChartInstance)base.m_source.Instance;

            base.m_itemPageSizes.AdjustHeightTo(chartInstance.DynamicHeight.ToMillimeters());
            base.m_itemPageSizes.AdjustWidthTo(chartInstance.DynamicWidth.ToMillimeters());
        }
示例#2
0
        public Chart(AspNetCore.ReportingServices.OnDemandReportRendering.Chart source, PageContext pageContext)
            : base(source)
        {
            AspNetCore.ReportingServices.OnDemandReportRendering.Chart chart = (AspNetCore.ReportingServices.OnDemandReportRendering.Chart)base.m_source;
            ChartInstance chartInstance = (ChartInstance)base.m_source.Instance;

            base.m_pageBreakProperties = PageBreakProperties.Create(chart.PageBreak, this, pageContext);
            if (!pageContext.IgnorePageBreaks)
            {
                base.m_pageName = chartInstance.PageName;
            }
            else if (pageContext.Common.DiagnosticsEnabled && chart.PageBreak.BreakLocation != 0)
            {
                pageContext.Common.TracePageBreakIgnored(this, pageContext.IgnorePageBreaksReason);
            }
            this.m_dynamicWidth  = chartInstance.DynamicWidth.ToMillimeters();
            this.m_dynamicHeight = chartInstance.DynamicHeight.ToMillimeters();
        }
示例#3
0
 public ChartGridLines(GridLines renderGridLinesDef, object[] styleValues, Chart chart)
 {
     this.m_chart = chart;
     this.m_renderGridLinesDef = renderGridLinesDef;
     this.m_styleValues        = styleValues;
 }
示例#4
0
 public ChartGridLines(AspNetCore.ReportingServices.ReportIntermediateFormat.ChartGridLines gridLinesDef, Chart chart)
 {
     this.m_chart        = chart;
     this.m_gridLinesDef = gridLinesDef;
 }