Skip to content

Chart legend toggles are missing the event and raffle markers #652

Description

@VijitSingh97

The chart legend lets you show/hide the three main series — P2Pool (routed), XvB (routed), Shares — but the other symbols drawn on the graph have no toggle:

On a busy week view these markers add a lot of visual noise with no way to clear them.

Where

  • SERIES in build/dashboard/mining_dashboard/web/static/chart.mjs (~line 47) defines the toggleable set — it only lists datasets 0–2.
  • Visibility state persists in dashboard.js ui.series and is applied in applyVisibility (which also handles the re-stacking of hidden stacked series — the marker datasets are not stacked, so hiding them is simpler than the existing three).

Suggested fix

Add events and raffle entries to SERIES with their own swatch classes (diamond/star colours), wire them through the existing ui.series persistence and applyVisibility path. No new mechanism needed — same pattern as #47.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions