Cargo Features

[dependencies]
plotchart = { version = "0.2.12", default-features = false, features = ["ttf", "image_encoder", "palette_ext", "gif_backend", "datetime", "svg", "evcxr", "piston", "cairo", "bitmap", "deprecated_items", "debug", "histogram", "point_series"] }
default = area_series, bitmap, boxplot, candlestick, chrono, deprecated_items, errorbar, gif_backend, histogram, image_encoder, line_series, palette_ext, point_series, svg, ttf

These default features are set whenever plotchart is added without default-features = false somewhere in the dependency tree.

ttf default bitmap cairo? piston? = font-kit, lazy_static, rusttype
image_encoder default = bitmap, image
palette_ext default = palette

Affects colors::palette_ext

gif_backend default = bitmap, gif
datetime = chrono
svg default evcxr?
evcxr = svg

Affects plotchart::evcxr

piston = piston_window, ttf
cairo = cairo-rs, ttf
bitmap default gif_backend image_encoder = ttf

Affects backend_impl::bitmap_pixel

deprecated_items default

Keep some of the deprecated items for backward compatibility

debug

Enable debugging code

errorbar candlestick boxplot histogram default
area_series line_series point_series default

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

chrono default datetime?
gif gif_backend

Enables gif ^0.10.3

cairo-rs not wasm32 cairo?

Enables cairo-rs ^0.8.0

font-kit not wasm32 ttf

Enables font-kit ^0.5.0

image not wasm32 image_encoder

Enables image ^0.22.3

lazy_static not wasm32 ttf
palette palette_ext

Enables palette ^0.5.0

piston_window not wasm32 piston?

Enables piston_window ^0.105.0

rusttype not wasm32 ttf

Enables rusttype ^0.8.2