Skip to content

Latest commit

 

History

History
106 lines (85 loc) · 4.75 KB

CHANGELOG.md

File metadata and controls

106 lines (85 loc) · 4.75 KB

Changelog

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

Changed

  • 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
    • 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

Fixed

  • Stacked lines with an f64::NAN point are now correctly rendered.

0.1.7 - 2024-08-20

Changed

  • 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

Fixed

  • Panic if Tick::position returns f64::NaN.
  • Compile errors with Leptos nightly.

0.1.5 - 2024-02-23

Added

0.1.4 - 2024-02-16

Added

Changed

0.1.3 - 2024-02-15

Added

0.1.2 - 2024-02-11

Added

0.1.1 - 2024-02-11

Fixed

  • Fix missing crates.io README.

0.1.0 - 2024-02-11

Initial release!

Added

  • 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.