OrbCharts Docs
Docs
Home
Github
  • English
  • 繁體中文
Docs
Home
Github
  • English
  • 繁體中文
  • Guide
  • Basic Concepts

    • 6 Data Formats
    • Core Technologies
  • Get Started !

    • Installation
    • Examples
  • Basic Usage

    • Creating Charts
    • Using Presets
    • Drawing Charts
    • Data Labels
  • Chart API

    • plugins$
    • data$
    • chartParams$
    • dataFormatter$
    • event$
    • destroy()
  • Plugins

    • Create Plugin
    • Series

      • Bubbles
      • Pie
      • PieEventTexts
      • PieLabels
      • Rose
      • RoseLabels
      • SeriesLegend
      • SeriesTooltip
    • Grid

      • Bars
      • BarsPN
      • BarsTriangle
      • Dots
      • GridLegend
      • GridTooltip
      • GroupAux
      • GroupAxis
      • GroupZoom
      • Lines
      • LineAreas
      • StackedBars
      • StackedValueAxis
      • ValueAxis
    • MultiGrid

      • MultiBars
      • MultiBarsTriangle
      • MultiDots
      • MultiGridLegend
      • MultiGridTooltip
      • MultiGroupAxis
      • MultiStackedBars
      • MultiStackedValueAxis
      • MultiValueAxis
      • OverlappingValueAxes
      • OverlappingStackedValueAxes
    • MultiValue

      • MultiValueLegend
      • MultiValueTooltip
      • OrdinalAux
      • OrdinalAxis
      • OrdinalBubbles
      • OrdinalZoom
      • RacingBars
      • RacingCounterTexts
      • RacingValueAxis
      • Scatter
      • ScatterBubbles
      • XYAux
      • XYAxes
      • XYZoom
    • Relationship

      • ForceDirected
      • ForceDirectedBubbles
      • RelationshipLegend
      • RelationshipTooltip
    • Tree

      • TreeLegend
      • TreeMap
      • TreeTooltip

OrdinalBubbles

  • Name: Ordinal Bubbles

  • Description: Value indices ([0], [1], [2]...) are mapped to the X-axis in ordinal form, and the size of each data point is represented by bubble size.

  • Playground Example

params$

  • Type: DeepPartial<OrdinalBubblesParams>

  • Fields:

    NameDescriptionType
    bubblesBubble settingsObject
    itemLabelDisplay settings for data labelObject
    axisLabelDisplay settings for axis labelObject
    rankingAmountNumber of items to display, default is 10. If set to 'auto', all data will be displayed if there is enough space'auto' | number
  • params.bubbles

    NameDescriptionType
    sizeAdjustBubble area adjustment factor (recommended between 0.1 and 1)number
    arcScaleTypeMapping method for bubble area using value. area maps data to bubble area, radius maps data to bubble radius (the latter causes more noticeable area differences but may have visual accuracy issues)'area' | 'radius'
    valueLinearOpacityBase color opacity gradient (corresponding to minimum to maximum values)[number, number]
  • params.itemLabel

    NameDescriptionType
    paddingPaddingnumber
    colorTypeLabel color typeColorType
  • params.axisLabel

    NameDescriptionType
    offsetAxis label position[number, number]
    colorTypeLabel color typeColorType
Detailed Types
type ColorType = 'none' | 'label' | 'labelContrast' | 'primary' | 'secondary' | 'background'
  • Default values:
{
  force: {
    strength: 0.08,
    velocityDecay: 0.3,
    collisionSpacing: 2
  },
  bubbleLabel: {
    colorType: 'labelContrast',
    fillRate: 0.6,
    lineHeight: 1,
    maxLineLength: 6,
    wordBreakAll: true,
  },
  arcScaleType: 'area'
}