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

axes & coordinate systems

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

axis3D grid3DIndex default

The grid3DIndex option specifies which grid3D component the axis uses. The default value is 0, meaning it uses the first grid3D component.

axis3D nameTextStyle and color

The nameTextStyle option controls the text style of axis names in 3D axes. The color property of nameTextStyle defaults to the color of axisLine.lineStyle.color if not explicitly set. The default font size for axis names is 16.

axis3D nameGap default value

The nameGap option controls the distance between the axis name and the axis line in 3D space. The default value is 20. This is measured in 3D space units, not screen pixels.

axis3D type options: value, category, time, log

The type option for axis3D specifies the axis type. Valid values are: 'value' for numeric axes suitable for continuous data; 'category' for categorical axes suitable for discrete category data (requires data to be set via the data option); 'time' for time axes suitable for continuous time series data, with time formatting and tick calculation that adapts based on span range (e.g., month, week, day, hour); 'log' for logarithmic axes suitable for logarithmic data. The default is 'value'.

axis3D min and max options

The min and max options set the minimum and maximum values for the axis scale. Both default to null. They can be set to 'dataMin' or 'dataMax' to use the minimum or maximum value in the data on that axis. When not set, the min and max values are automatically calculated to ensure uniform distribution of axis ticks. For category axes, min and max can be set to the ordinal index of a category (e.g., for data ['类A', '类B', '类C'], the index 2 represents '类C'), and negative indices are also supported (e.g., -3).

axis3D scale option

The scale option is only valid for numeric axes (type: 'value'). When set to true, it allows the axis scale to be independent of the 0 value, meaning the zero tick is not forced to be included. This is useful in scatter plots with dual numeric axes. The scale option becomes ineffective if min and max are explicitly set.

axis3D splitNumber default and behavior

The splitNumber option specifies the estimated number of segments to divide the axis into. The default value is 5. This is only an estimate; the actual number of ticks displayed will be adjusted based on the readability of the scale after calculation. The splitNumber option has no effect on category axes.

axis3D minInterval default and usage

The minInterval option sets the minimum interval size for automatically calculated axis ticks. The default value is 0. For example, setting minInterval to 1 ensures that axis ticks display as integers. This option is only valid for numeric axes (type: 'value').

axis3D interval option for forced tick spacing

The interval option forces a specific spacing between axis ticks. Since splitNumber is an estimate and actual tick calculations may not achieve the desired effect, interval can be used together with min and max to force specific tick divisions, though this is generally not recommended. The interval option cannot be used on category axes. For time axes (type: 'time'), interval requires a timestamp value. For logarithmic axes (type: 'log'), interval requires an exponent value.

axis3D logBase default value

The logBase option specifies the base of the logarithm for logarithmic axes. The default value is 10. This option is only valid for logarithmic axes (type: 'log').

axis3D data array for category axes

The data option provides category data and is valid only for category axes (type: 'category'). If type is set to 'category' but data is not set, axis.data will be automatically populated from series.data, which is convenient but limited—it only includes values that appear in series.data. If series.data is empty, nothing will be extracted. Each item in the data array can be a string value or an object with a value property and optional textStyle for custom styling of individual category labels.

axis3D category data example with styling

Category axis data can be defined as a simple array of strings: data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日']. Alternatively, each item can be an object with a value property and textStyle for per-item styling: data: [{value: '周一', textStyle: {fontSize: 20, color: 'red'}}, '周二', '周三', ...].

3D coordinate system axes in ECharts GL

ECharts GL provides three axes for 3D Cartesian coordinate systems: xAxis3D, yAxis3D, and zAxis3D. These define the three-dimensional space for 3D series visualization in grid3D.

GeoJSON triangulation for 3D maps

ECharts GL converts GeoJSON polygon data representing geographic regions and country boundaries into triangulated mesh data suitable for WebGL rendering using ear clipping triangulation algorithms.

ECharts GL 3D coordinate system components

ECharts GL uses 3D coordinate system components with the '3D' suffix to avoid conflicts when mixing 2D and 3D components in one chart. The 3D equivalents are: xAxis3D, yAxis3D, zAxis3D, and grid3D for configuring the three-dimensional space.

Give your agent this brain