Skip to content

Demonstrate MarkerSize in existing WinDataChart hoodie samples#8

Open
Copilot wants to merge 2 commits into
masterfrom
copilot/demo-marker-size-property
Open

Demonstrate MarkerSize in existing WinDataChart hoodie samples#8
Copilot wants to merge 2 commits into
masterfrom
copilot/demo-marker-size-property

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 21, 2026

This update adds a focused demo of the new chart MarkerSize property in the existing hoodie sales chart samples. It keeps the current sample structure and highlights marker sizing on the selected series while preserving default template sizing for non-selected series.

  • Scope

    • Updated the two mirrored sample implementations:
      • Applications/Elemental/Elemental/frmMain.cs
      • Applications/IGExcel/IGExcel/ofrmMain.cs
  • Chart marker sizing behavior

    • In InitializeChart(HoodieStyle style), each LineSeries now sets MarkerSize explicitly:
      • selected series: fixed marker size (18D)
      • non-selected series: reset to default marker sizing (double.NaN)
  • Result

    • The sample now visibly demonstrates the new MarkerSize API in a real chart configuration without introducing new sample projects or restructuring existing flow.
series.Thickness = isSelected ? 4D : 2D;
series.MarkerType = isSelected ? MarkerType.Circle : MarkerType.None;
series.MarkerSize = isSelected ? 18D : double.NaN;
series.MarkerBrush = barColor;
series.MarkerOutline = barColor;

Copilot AI linked an issue May 21, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add sample project to demonstrate new Marker size property Demonstrate MarkerSize in existing WinDataChart hoodie samples May 21, 2026
Copilot AI requested a review from gedinakova May 21, 2026 17:04
@gedinakova gedinakova marked this pull request as ready for review May 26, 2026 08:51
@gedinakova gedinakova requested a review from emiliano-luna May 26, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Demo the new Marker size property

2 participants