Join the newly launched Discord
community for real-time discussions, peer support, and direct interaction with the Meridian team!
meridian.analysis.formatter.ChartSpec
Stay organized with collections
Save and categorize content based on your preferences.
meridian
.
analysis
.
formatter
.
ChartSpec
(
id
:
str
,
chart_json
:
str
,
description
:
(
str
|
None
)
=
None
)
Methods
__eq__
__eq__
(
other
)
Return self==value.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-05 UTC."],[[["\u003cp\u003e\u003ccode\u003eChartSpec\u003c/code\u003e is a dataclass within the \u003ccode\u003emeridian.analysis.formatter\u003c/code\u003e module, primarily designed for chart specifications.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eChartSpec\u003c/code\u003e dataclass includes \u003ccode\u003eid\u003c/code\u003e, \u003ccode\u003echart_json\u003c/code\u003e, and an optional \u003ccode\u003edescription\u003c/code\u003e as its core attributes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e__eq__\u003c/code\u003e method allows comparison between \u003ccode\u003eChartSpec\u003c/code\u003e instances, determining if they are equal to one another.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edescription\u003c/code\u003e class variable defaults to \u003ccode\u003eNone\u003c/code\u003e if not otherwise specified in a \u003ccode\u003eChartSpec\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,["\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/google/meridian/blob/v1.2.0/meridian/analysis/formatter.py#L44-L48) |\n\n meridian.analysis.formatter.ChartSpec(\n id: str, chart_json: str, description: (str | None) = None\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ||\n|---------------|-----------------|\n| `id` | Dataclass field |\n| `chart_json` | Dataclass field |\n| `description` | Dataclass field |\n\n\u003cbr /\u003e\n\nMethods\n\n`__eq__` \n\n __eq__(\n other\n )\n\nReturn self==value.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Class Variables ||\n|-------------|--------|\n| description | `None` |\n\n\u003cbr /\u003e"]]