Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support "[ ]" in "Series" property to render multiple points from single data object #304

Merged
merged 2 commits into from
Oct 27, 2023

Conversation

joepavitt
Copy link
Collaborator

@joepavitt joepavitt commented Oct 26, 2023

Description

  • "Series" now has a "JSON" type option
    • If selected, this hides the "y" property option
    • Instead, the y-value is read from the keys provided in the series' array, e.g. ["value1", "value2"] would render a point on two series for their respective data points.
  • Ensured support remains for all existing chart data types and entry points. Have also tested the new functionality on Bar/Scatter/Line charts.
  • Updated documentation (both inline NR help & standalone docs) to include clearer examples for using this functionality and the "Series" property in general.

Related Issue(s)

Closes #293

Checklist

@joepavitt joepavitt changed the title Support "[" Support "[ ]" in "Series" property to render multiple points from single data object Oct 26, 2023
@joepavitt joepavitt merged commit cc0c8ae into main Oct 27, 2023
1 check passed
@joepavitt joepavitt deleted the 293-series-as-json branch October 27, 2023 16:10
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.

Set "y"/"Series" such that a single object/payload can draw multiple data points
1 participant