All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.2.0 - 2024-12-13
- Most of the API now has
#[non_exhaustive]
on it. - Sealed
Tick
trait. Open an issue if you need a specific impl. - Most
<Tick: 'static>
generic bounds in the API have been changed to<XY: Tick>
. - Updated Leptos to 0.7.
- If compile times have gone out of the window, try the following:
- On any page with a call to
<Chart>
, add a call to IntoAny::into_any. For example:view! { ... <Chart ... /> ... }.into_any()
- Drop debug info by adding to your
Cargo.toml
:profile.dev.debug = false
- On any page with a call to
- If your charts use a degree of dynamism fitting for Leptos then you might see charts being drawn outside of bounds. This is a derived memo bug in Leptos
- If compile times have gone out of the window, try the following:
- Stacked lines with an
f64::NAN
point are now correctly rendered.
0.1.7 - 2024-08-20
- Updated leptos-use dependency to 0.12.
- Skip generating empty line markers with
MarkerShape::None
for a small performance improvement.
0.1.6 - 2024-06-15
- Panic if Tick::position returns f64::NaN.
- Compile errors with Leptos nightly.
0.1.5 - 2024-02-23
- Bar charts in #15.
0.1.4 - 2024-02-16
- Line interpolation: linear and monotone and stepped in #12.
- Default line interpolation is now
Interpolation::monotone
.
0.1.3 - 2024-02-15
- Application of CSS styles in #10.
0.1.2 - 2024-02-11
0.1.1 - 2024-02-11
- Fix missing crates.io README.
0.1.0 - 2024-02-11
Initial release!
- Aspect ratio on inner, outer, or from the env chart.
- Debug (draw bounding boxes, print to console).
Edge layout options:
- Legends.
- Rotated labels.
- Tick labels (aligned floats and periodic timestamps, custom formatting).
Inner layout options:
- Axis markers (on edges and zero).
- Grid lines (aligned to ticks).
- Guide lines (aligned to mouse or data).
- Inset legends.
Overlay options:
- Tooltips (with sorting and formatting).
Series options:
- Line charts.
- Stacked line charts.
- X and Y ranges.
- Colour scheme.