xy-container/xy-container.svelte

unovis · packages/svelte/src/containers/xy-container/xy-container.svelte · svelte · Apache-2.0
ui

A Svelte wrapper for an XY container that developers use to build reactive and complex 2D data visualizations.

<!--
  Source: https://github.com/f5/unovis | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
  Provided via justclaw.it.com; keep this notice with the code.
-->
<script lang="ts">
  import { XYContainer } from '@unovis/ts/containers/xy-container'
  import type { XYContainerConfigInterface } from '@unovis/ts/containers/xy-container/config'
  import type { XYComponentCore } from '@unovis/ts/core/xy-component'
  import type { Tooltip } from '@unovis/ts/components/tooltip'
  import type { Crosshair } from '@unovis/ts/components/crosshair'
  import type { Axis } from '@unovis/ts/components/axis'
  import type { Annotations } from '@unovis/ts/components/annotations'
  import { onMount, setContext } from 'svelte'

  type Datum = $$Generic
  interface $

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key