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

sector-style

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

sector borderRadius option types

The borderRadius option for sector charts accepts number, string, or Array. It specifies the roundness for corners of sectors.

sector borderRadius single number value

When borderRadius is a single number like 10, both inner and outer corner radii are set to 10px.

sector borderRadius two-value array

When borderRadius is [10, 20], the inner corner radius is 10px and the outer corner radius is 20px. When borderRadius is ['20%', '50%'], the inner corner radius is 20% and outer corner radius is 50%. Before v5.3.0, percentage is relative to inner/outer radius respectively. Since v5.3.0, percentage is relative to the difference between inner and outer radius.

sector borderRadius four-value array (v5.3.0+)

Since v5.3.0, borderRadius supports four values [5, 10, 15, 20] to configure corner radius of four corners respectively from inside to outside, clockwise: the two inner corner radii are 5px and 10px, and the two outer corner radii are 15px and 20px.

sector borderRadius percentage reference change in v5.3.0

The relative target of percentage values for borderRadius changed in v5.3.0. Before v5.3.0, percentage was relative to the inner radius or outer radius respectively. Since v5.3.0, percentage is relative to the difference between the inner radius and the outer radius.

Give your agent this brain