public ShimChartMember(IDefinitionPath parentDefinitionPath, Chart owner, ShimChartMember parent, int parentCollectionIndex, bool isCategory, ShimRenderGroups renderGroups) : base(parentDefinitionPath, owner, parent, parentCollectionIndex) { this.m_definitionStartIndex = owner.GetCurrentMemberCellDefinitionIndex(); this.m_isCategory = isCategory; base.m_group = new Group(owner, renderGroups); this.GenerateInnerHierarchy(owner, parent, isCategory, ((AspNetCore.ReportingServices.ReportRendering.ChartMember)renderGroups[0]).Children); this.m_definitionEndIndex = owner.GetCurrentMemberCellDefinitionIndex(); }
public ShimChartMember(IDefinitionPath parentDefinitionPath, Chart owner, ShimChartMember parent, int parentCollectionIndex, bool isCategory, AspNetCore.ReportingServices.ReportRendering.ChartMember staticOrSubtotal) : base(parentDefinitionPath, owner, parent, parentCollectionIndex) { this.m_definitionStartIndex = owner.GetCurrentMemberCellDefinitionIndex(); this.m_isCategory = isCategory; this.m_staticOrSubtotal = staticOrSubtotal; this.GenerateInnerHierarchy(owner, parent, isCategory, staticOrSubtotal.Children); this.m_definitionEndIndex = owner.GetCurrentMemberCellDefinitionIndex(); }
public ShimChartMemberCollection(IDefinitionPath parentDefinitionPath, Chart owner, bool isCategoryGroup, ShimChartMember parent, AspNetCore.ReportingServices.ReportRendering.ChartMemberCollection renderMemberCollection) : base(parentDefinitionPath, owner) { this.m_isCategoryGroup = isCategoryGroup; this.m_definitionStartIndex = owner.GetCurrentMemberCellDefinitionIndex(); int count = renderMemberCollection.Count; if (renderMemberCollection[0].IsStatic) { this.m_isDynamic = false; base.m_children = new ShimChartMember[count]; for (int i = 0; i < count; i++) { base.m_children[i] = new ShimChartMember(this, owner, parent, i, isCategoryGroup, renderMemberCollection[i]); } } else { this.m_isDynamic = true; base.m_children = new ShimChartMember[1]; base.m_children[0] = new ShimChartMember(this, owner, parent, 0, isCategoryGroup, new ShimRenderGroups(renderMemberCollection)); } this.m_definitionEndIndex = owner.GetCurrentMemberCellDefinitionIndex(); }