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

mark-point

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

markPoint data.valueIndex for dimension selection

The valueIndex attribute works only when type is assigned. It specifies which dimension to use for calculating maximum or minimum values. Valid values are 0 (xAxis, radiusAxis) or 1 (yAxis, angleAxis). The first value axis dimension is used by default.

markPoint default symbol is pin with size 50

The markPoint feature uses a default symbol of 'pin' with a default symbol size of 50 pixels.

markPoint label default show and position

The label for a mark point has defaultShowLabel set to true and defaultPosition set to 'inside'.

markPoint data positioning methods with priority order

Mark point data array positions are assigned in the following priority order: 1) Use x and y attributes (pixel or percentage values relative to container or coordinate). 2) Use coord attribute with support for 'min', 'max', 'average' for each dimension. 3) Use type attribute to mark maximum, minimum, or average values in the series, optionally with valueIndex or valueDim. When multiple attributes exist, the earlier methods take priority.

markPoint data.type options

The type attribute for mark point data supports three options: 'min' for minimum value, 'max' for maximum value, and 'average' for average value.

markPoint data.valueDim for named dimension selection

The valueDim attribute works only when type is assigned. It specifies the dimension name to use for calculating maximum or minimum values, such as 'x', 'angle' for line charts, or 'open', 'close' for candlestick charts.

markPoint data.coord format depends on series coordinate system

The coord attribute specifies coordinates of a mark point's position. For rectangular coordinates (grid), the format is x and y. For polar coordinates, the format is radius and angle.

markPoint data.x and data.y positioning in pixels or percentage

The x and y attributes specify position in pixels or percentage relative to the container. Default values are 0 for both x and y.

markPoint data.z2 stacking order (version 6.0.0+)

The z2 attribute, available since version 6.0.0, specifies the stacking order (z-order) of graphic elements. A higher value means the element appears on top.

markPoint data.relativeTo positioning reference (version 6.0.0+)

The relativeTo attribute, available since version 6.0.0, specifies whether x and y positions are relative to the entire chart container ('container', default) or the grid coordinate system ('coordinate'). Valid options are 'container' or 'coordinate'.

markPoint data.value label value

The value attribute specifies a label value for a mark point and can be omitted.

markPoint data.name template variable

The name attribute of mark point data can be used as a template variable 'data name' ({b}) in label formatters.

markPoint blur state (version 5.0.0+)

The blur object, available since version 5.0.0, defines configurations of blur state for mark points. Whether to blur follows the series setting.

markPoint default z value is 5 (version 6.0.0+)

The default z value for markPoint, available since version 6.0.0, is 5.

markPoint structure has emphasis and blur states with label and itemStyle

The markPoint feature supports emphasis and blur states (blur since 5.0.0), each with configurable label and itemStyle sub-objects.

markPoint data example with multiple positioning methods

Example mark point data array: data: [{name: 'maximum', type: 'max'}, {name: 'coordinate', coord: [10, 20]}, {name: 'fixed x position', yAxis: 10, x: '90%'}, {name: 'screen coordinate', x: 100, y: 100}]

Give your agent this brain