- @jiaminghi/c-render: lock
^0.4.3
.
- numberText: Fix: When rendering, 0 is ignored.
- numberText: Add number formatter.
- pie: Optimization percent calculation.
- numberText: Graph of numberText support
\n
to line feed.
- Axis: Perfect axis calculation of min & max.
- Pie: Optimized percentage accuracy calculation.
- util->deepMerge: Object property references are the same in some cases.
- Pie:
PercentToFixed
exception display.
- Bar: Bar supports independent color, each bar can be set in different colors.
const config = { someConfig, series: [ { type: 'bar', /** * @description Independent color mode * When set to true, independent color mode is enabled * @type {Boolean} * @default independentColor = false */ independentColor: true, /** * @description Independent colors * Only effective when independent color mode is enabled * Default value is the same as the color in the root configuration * Two-dimensional color array can produce gradient colors * @type {Array} * @example independentColor = ['#fff', '#000'] * @example independentColor = [['#fff', '#000'], '#000'] */ independentColors: [], } ] }
- setOption: setOption adds the
animationEnd
parameter which skips unfinished animation when updating the chart state. It is recommended to enable animationEnd when frequently updating the chart state (frequently updating the chart state may cause the animation data to continue to grow and cause memory leaks)./** * @description Set chart option * @param {Object} option Chart option * @param {Boolean} animationEnd Execute animationEnd * @return {Undefined} No return */ Charts.prototype.setOption = function (option, animationEnd = false) { }
- axis: Optimize irregular syntax.
- axis: Optimize irregular syntax.
- babel: Upgrade babel compilation mode.
- babel: Upgrade babel compilation mode.
- deepMerge: deepMerge method cannot merge
Array
when recursive.
- axis: The label position is abnormal when the label is rotated.
- gauge: An exception caused by inconsistent number of gradient colors.
- core: Configurable render level.
- legend: Add legend extend.
- bar: An exception caused by calculate gradientParams.
- axis: An exception caused by calculate inteval.
-
core: Optimize the update process.
-
config: Add a function of
changeDefaultConfig
to change the default configuration. -
ES5: Use babel to transcode to
ES5
.
- gauge: Add
gauge
chart.
- Core: Optimize the update process.
- Perfect: Some optimization.
- pie: Abnormal calculation of radius under
roseType: true
.
-
pie: Optimized Label
formatter
. -
pie: Add the
roseSort
configuration.
- prototype: Add prototype function
resize
.
- alpha: First beta with
line
,bar
,pie
,radar
charts.