new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Apache ECharts · all subjects

label-styling

3 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

richInheritPlainLabel option

richInheritPlainLabel is a boolean option with default value true, introduced in echarts v6.0.0. It controls whether rich text inherits plain text style. When true (default), the label.rich / textStyle.rich properties for fontStyle, fontWeight, fontSize, fontFamily, textShadowColor, textShadowBlur, textShadowOffsetX, and textShadowOffsetY inherit from the corresponding plain label styles. Setting it to false restores pre-v6 behavior. This option exists for backward compatibility.

richInheritPlainLabel false example

Example showing how to disable rich text inheritance of plain label styles: ```js option = { richInheritPlainLabel: false, // In most cases, this is enough. xxx1: { // Can also set it here to only control this label. label: { richInheritPlainLabel: false, rich: {/* ... */}, } }, xxx2: { textStyle: { richInheritPlainLabel: false, rich: {/* ... */}, } } } ``` richInheritPlainLabel can be set globally in the option root, or at the label/textStyle level for specific series or components.

richInheritPlainLabel inheritance behavior in v6

In echarts v6 and later, when richInheritPlainLabel is true (default), the rich text styles for fontStyle, fontWeight, fontSize, fontFamily, textShadowColor, textShadowBlur, textShadowOffsetX, and textShadowOffsetY automatically inherit from their corresponding plain label style properties. This is a change from earlier versions where rich and plain styles were independent.

Give your agent this brain