DrawHemicycle constructor
- int assemblyElements, {
- double? assemblyAngle,
- double? assemblyWidth,
- List<
IndividualVotes> ? individualVotes, - List<
GroupSectors> ? groupSectors, - List<
GroupSectors> ? superGroupSectors, - Color? backgroundColor,
- bool? withLegend,
- int? minLegendRows,
- bool? withTitle,
- String? title,
- int? nbRows,
- bool? useGroupSector,
- double? backgroundOpacity,
- bool? hiliteFronde,
Creates a widget with Assembly view defined by these parameters :
• assemblyElements is the number of elements to draw. It is required.
• assemblyAngle is the value of the arc of the Assembly expressed in degrees. By default, if not provided, it is 170°.
• assemblyWidth is the ratio of the Assembly inside the container. Will be discontinued, should not be used. Don't provide or set to 1.
• individualVotes is a nullable List
• groupSectors is a nullable List
• withLegend is a boolean that display or not the Legend. To force a minimal number of rows, provide minLegendRows.
• withTitle is a boolean that display or not the Title. It needs title String to be provided to display.
• nbRows is the number of rows in the Assembly representation. By default, if not provided, it is 12.
• useGroupSector is a boolean that display or not a surrounding Group visualization around the Assembly in Individual Votes view. It needs both individualVotes and groupSectors to be provided to display. If superGroupSectors is provided, a second arc is display around the first one for intergroup connection. superGroupSectors and groupSectors need to have the same length and matching structure.
• hiliteFronde is a boolean that display or not the No Vote and Abstention in Group that have a majority of Voters in Individual Votes view.
• backgroundOpacity is used with useGroupSector to change the Opacity of the Sectors behind the IndividualVotes Dots
• backgroundColor is used to fill the Drawing area with a plain background color
Implementation
DrawHemicycle(this.assemblyElements,
{this.assemblyAngle,
this.assemblyWidth,
this.individualVotes,
this.groupSectors,
this.superGroupSectors,
this.backgroundColor,
this.withLegend,
this.minLegendRows,
this.withTitle,
this.title,
this.nbRows,
this.useGroupSector,
this.backgroundOpacity,
this.hiliteFronde})
: super();