@opendata-ai/openchart-core 6.16.0 → 6.18.0

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.
package/dist/index.d.ts CHANGED
@@ -149,6 +149,8 @@ interface ColumnConfig {
149
149
  flag?: boolean;
150
150
  /** Category colors: color-code the cell based on its categorical value. */
151
151
  categoryColors?: CategoryColorsConfig;
152
+ /** When true, auto-assign palette colors to values not in categoryColors. Default: false. */
153
+ autoAssign?: boolean;
152
154
  }
153
155
 
154
156
  /**
@@ -1056,6 +1058,12 @@ interface SankeySpec {
1056
1058
  * Defaults to 'auto'.
1057
1059
  */
1058
1060
  nodeLabelAlign?: 'auto' | 'left' | 'right';
1061
+ /**
1062
+ * Explicit vertical ordering of nodes. An array of node IDs listed from
1063
+ * top to bottom. Nodes sharing the same column are sorted by their position
1064
+ * in this array. Nodes not in the array are placed after those that are.
1065
+ */
1066
+ nodeSort?: string[];
1059
1067
  /** Editorial chrome (title, subtitle, source, byline, footer). */
1060
1068
  chrome?: Chrome;
1061
1069
  /** Legend display configuration. */