Join the newly launched
Discord community for real-time discussions, peer support, and direct interaction with the Meridian team!
meridian.analysis.formatter.create_card_html
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Tworzy fragment kodu HTML karty zawierający specyfikację danej karty i wykresu.
meridian.analysis.formatter.create_card_html(
template_env: jinja2.Environment,
card_spec: meridian.analysis.formatter.CardSpec
,
insights: str,
chart_specs: (Sequence[ChartSpec | TableSpec] | None) = None,
stats_specs: (Sequence[StatsSpec] | None) = None
) -> str
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-10 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-11-10 UTC."],[],["The `create_card_html` function generates an HTML snippet for a card. It requires a Jinja2 template environment, a `CardSpec`, and insights (string). It optionally takes a sequence of `ChartSpec` or `TableSpec` objects, and a sequence of `StatsSpec` objects. The function then combines this data to produce the HTML output, representing the structured card with associated chart, table, and stat data.\n"],null,[]]