Skip to content

Latest commit

 

History

History
78 lines (67 loc) · 5.78 KB

File metadata and controls

78 lines (67 loc) · 5.78 KB

Datalys2 Reporting Python API — Documentation

Package version 0.8.0 · targets dl2 viewer 0.5.0

dl2-reports builds self-contained interactive HTML reports from pandas DataFrames. This documentation is organized so that every visual type and every feature has its own page.

Version tags like (dl2 0.3+) refer to the viewer (JS) version a feature requires; the compiled HTML pins dl-version 0.5.0.

Visuals

One page per visual type. Every visual also accepts the common visual properties.

Visual Type Page Example
KPI card kpi visuals/kpi.md 02_kpi.py
Card (text / md / html) card visuals/card.md 03_card.py
Table table visuals/table.md 04_table.py
Checklist checklist visuals/checklist.md 05_checklist.py
Pie / Donut pie visuals/pie.md 06_pie.py
Bar (clustered / stacked) clusteredBar / stackedBar visuals/bar.md 07_bar.py
Line chart line visuals/line.md 08_line.py
Area chart area visuals/area.md 09_area.py
Scatter plot scatter visuals/scatter.md 10_scatter.py
Histogram histogram visuals/histogram.md 11_histogram.py
Heatmap heatmap visuals/heatmap.md 12_heatmap.py
Box plot boxplot visuals/boxplot.md 13_boxplot.py
Gauge gauge visuals/gauge.md 14_gauge.py
Calendar (dl2 0.5+) calendar visuals/calendar.md 16_calendar.py
Tabs container tabs visuals/tabs.md 01_tabs.py
Link link visuals/link.md 15_links_and_modals.py
Modal button modal visuals/modal-button.md 15_links_and_modals.py
Generic visual passthrough any visuals/generic-visual.md

Features

Feature Page
Common visual properties (id, border, filter=, extra=, …) features/common-props.md
Datasets & compression (add_df, dtypes, dates) features/datasets.md
Report configuration (metadata, report_id, CDN, save/compile) features/report-configuration.md
Layouts (rows, columns, grids, gap/wrap/align) features/layouts.md
Filtering (filter=, the filters builder module) features/filtering.md
Aggregation (aggregate=, the aggregates builder module) features/aggregation.md
Formula datasources ("sales[Amount > 200]") (0.7.0+) features/formula-datasources.md
Derived datasets (add_derived_dataset) features/derived-datasets.md
Remote datasets (add_remote_dataset) (dl2 0.5+) features/remote-datasets.md
Thresholds (pass/fail coloring) features/thresholds.md
Annotations (trend lines, markers, axis lines, labels) features/annotations.md
Column formatting (column_formats=) (dl2 0.4.1+) features/column-formatting.md
Conditional formatting (conditional_formats=) (dl2 0.4.1+) features/conditional-formatting.md
Modals (global overlays, row detail modals) features/modals.md
Persistent view state (dl2 0.4+) features/persistent-view-state.md
Chart image export (PNG/SVG) (dl2 0.5+) features/chart-export.md
Printing & PDF (dl2 0.5+) features/printing.md
Reading values back (get_value, visual.copy) features/reading-values.md
Conditional layout (on_condition) features/conditional-layout.md
Jupyter notebook support (show, auto-render) features/jupyter.md
Compile-time linting & viewer validation features/linting.md
Migrating to the typed API (codemod) features/migration.md

Internal / design documents

Not user documentation, kept for contributors: ARCHITECTURE.md · JS_CONFIG_REFERENCE_0.3-0.4.md · UPDATE_PLAN.md · V2_MIGRATION_PLAN.md