Skip to content

horizon -> mainmast #433

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

Merged
merged 18 commits into from
Apr 30, 2022
Merged

horizon -> mainmast #433

merged 18 commits into from
Apr 30, 2022

Conversation

jpolitz
Copy link
Member

@jpolitz jpolitz commented Apr 29, 2022

Merge over remaining grouped bar chart, etc, changes

JohnUUU and others added 18 commits January 15, 2022 01:28
I'll specify these in more detail in the future PR.

- Line-plot-methods: curved,  line width, trendlines (5 Methods),   lineDashStyle: [2, 2],  pointshapes, labels, image-labels, selection mode (ChartWindow),

- curved does not work with render-charts but does with render-chart

- Scatter-plot-methods:  labels, image-labels, point-size,  pointshapes, selection mode (ChartWindow),

- Pie-chart-methods: Explode, colors,  3D, Donut, Rotate, Collapse Threshold

- Donut is ignored if also 3D

- Histogram-methods: labels
For now I’ll just keep the commit to a cleaner outline of the new methods, documentation and detailed Pull Request coming soon… Also see notes and bugs below:

New methods:
Global Chart Window methods:
- Background methods: [background-color]
- Border methods: [border-size, border-color]
Plot Chart Window methods:
- Major Gridlines: [gridlines-minspacing, gridlines-color]
- Minor Gridlines: [show-minor-gridlines, minor-gridlines-minspacing, minor-gridlines-color]
- Selection Mode: [select-multiple]
Line-Plot-Series:
- Line methods: [curved, line-width, dashed-line, dashline-style]
- Trendline methods: [trendline-type, trendline-color, trendline-width, trendline-opacity]
- Point methods: [point-shape, labels, image-labels]
Scatter-Plot-Series:
- Point methods: [point-shape, labels, image-labels, point-size]
Pie-Chart-Series:
- methods: [Explode, colors,  3D, Donut, Rotate, Collapse Threshold]
Histogram-Series:
- methods: [labels, colors]
Box-plot-Series
- Methods: [colors]

Notes:
btoa is Depreciating. Tried to use buffer library as recommended but unsure how to import it. Ended up using a fix from Stack overflow to take care of illegal Latin1 characters (happened when adding trendlines).

Bugs:
curved does not work with render-charts but does with render-chart
Donut is ignored if also 3D
More to come after testing finishes in testing commit coming soon!
- Added basic edge case checking and better type-checking for previous methods
- Fixed Image points in scatter and line plot series
- Fixed point shape dent to use the correct apothem formula

- Extended trendline methods to work with scatter-plot-series
…yret.org into JohnUUU-stacked-bar-chart

Merge and add new test for line images as well as scatter images

[2] vs. [1] indexing for the SVG seems to work OK with both of these versions
(which do not show legends by default)
… will allow include of charts to be more future-proof
…t the kind of temporary that lasts 3 years) workaround for insert/picker permissions
@jpolitz jpolitz merged commit 1fc5479 into mainmast Apr 30, 2022
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.

2 participants