Skip to content

Add a funnel sample to the demo, and let a series set its label colour #75

Description

@davidnmbond

Add a funnel chart sample to the demo at https://chartmagic.panoramicdata.com/. The renderer has drawn funnels since #72.

Adding it exposed a gap: SeriesSpecification had no label colour. The renderer reads Series.FontColor, but the specification never set it, so every series label was black, including data labels, outside pie labels and funnel labels. On the demo's dark theme they could not be read.

Acceptance criteria

  • MUST The demo gallery has a Working "Funnel" sample that renders one labelled segment per stage.
  • MUST SeriesSpecification.FontColor sets the colour of that series' labels. It defaults to black, so existing output does not change.
  • MUST The demo themes series labels (theme.AxisLabel) unless the sample sets its own colour.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions