Skip to main content

声明式图表规范、主题、运行时协议和通用输出

Project description

athena_charts 模块是对绘图的抽象,包括以下几个层级:

  • figure: 绘图的画布,每个画布商可能有1个或多个图表。
  • chart: 具体的图表,每个图表只能绘制一种坐标系,可能是个笛卡尔直角坐标系,也可能是一个极坐标系。
  • coord: 图表的坐标系,每个图表都有若干个轴,轴上有刻度,每个轴都对应一种数据类型。对于直角坐标系,Y 轴只能是数值类型。
  • plot: 绘制在坐标系中的图层,只有相同坐标系的图层才能绘制在同一个图表中,图层包括折线图、柱状图、饼图,相同坐标系的图层可以任意组合,因此在直角坐标系中可能同时绘制折线图和柱状图,但是不能同时绘制折线图和饼图。

每种类型组件的抽象都有全局配置和组件配置,全局配置在主题 theme 中,而组件配置通常放在 xxxOptions 中。

在 engine 中包含了完整的渲染图片的流程,从 RenderSpec -> RenderResult[TArtifact] -> WriteResult[TValue]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

athena_charts-1.0.0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

athena_charts-1.0.0-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file athena_charts-1.0.0.tar.gz.

File metadata

  • Download URL: athena_charts-1.0.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for athena_charts-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1324d8fe7e486d4ee789776cf51e0862d75f7155e8d868a8737b707580d30fd9
MD5 11e2fd973879a473de7518e881f90fb9
BLAKE2b-256 5e54a50afe79f782e79e382f0002d39a80b74b4468a5e4e44bad62836c941957

See more details on using hashes here.

File details

Details for the file athena_charts-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: athena_charts-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for athena_charts-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 adfbb3679f1811c557f939f767767174e2b1fe12a246c8cf85575da51ccbe944
MD5 6004bc0fe8232be3642859228b673a6e
BLAKE2b-256 051b1fc8aec8e026dd39e3abaaad34d3d0d6de9f57d55383752c1a4975ea6df6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page