cats-charts 0.0.98 → 0.0.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4140,12 +4140,15 @@ class SankeyChart {
4140
4140
  : labelTypography?.underline
4141
4141
  ? 'underline'
4142
4142
  : undefined,
4143
- align: styling?.labels?.alignment === 'default' ? undefined : styling?.labels?.alignment,
4143
+ ...(styling?.labels?.alignment !== 'default' && {
4144
+ position: styling?.labels?.alignment,
4145
+ }),
4144
4146
  formatter: (params) => this.formatNodeLabel(String(params.name ?? ''), visibleNodeMeta.get(String(params.name ?? '')), totalValue),
4145
4147
  },
4146
4148
  },
4147
4149
  ],
4148
4150
  };
4151
+ console.log(this.chartOption);
4149
4152
  if (this.chartInstance) {
4150
4153
  this.chartInstance.setOption(this.chartOption, true);
4151
4154
  }