According to the docs, we can specify config.dimensions with strings. But it seems that only data with type number[][] takes effect.
Reproduction: replacing the official online example with the following code, and you will find the regression line disappear:
According to the docs, we can specify
config.dimensions
with strings. But it seems that only data with typenumber[][]
takes effect. Reproduction: replacing the official online example with the following code, and you will find the regression line disappear: