var instance; // Type: wijmo.chart.chart_legend; var value; // Type: number value = instance.textWidth;
var textWidth : number;
A value that indicates the width of the legend text in pixels, allowing you to control line break positioning for multi-word legend entries.
Type: Number
Default: null (Finds the width of the widest legend entry.)
var instance; // Type: wijmo.chart.chart_legend; var value; // Type: number value = instance.textWidth;
var textWidth : number;
Based on this setting, legend entries (from seriesList labels), render either in a single line, or word wrapped to the nearest word.
No matter the setting, the textWidth renders at least as wide as the widest word in the legend, and no wider than the widest legend entry.