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

echarts-instance/loading

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

showLoading method signature and options

showLoading(type?: string, opts?: Object). Shows loading animation before data loads. Type defaults to 'default'. The opts object configures loading animation with properties: text ('loading'), color ('#c23531'), textColor ('#000'), maskColor ('rgba(255, 255, 255, 0.8)'), zlevel (0), fontSize (12, since v4.8.0), showSpinner (true, since v4.8.0), spinnerRadius (10, since v4.8.0), lineWidth (5, since v4.8.0), fontWeight ('normal', since v5.0.1), fontStyle ('normal', since v5.0.1), fontFamily ('sans-serif', since v5.0.1).

showLoading and hideLoading for loading animation

ECharts provides a default loading animation. Call myChart.showLoading() before fetching data, then myChart.hideLoading() after data loading completes and before calling setOption. This prevents users from seeing a blank chart during long loading times.

Give your agent this brain