This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a change to branch PR/plainheart_fix/alignTicks-precision
in repository https://gitbox.apache.org/repos/asf/echarts.git
at 56a32c0bb fix(axisPointer&tooltip): (1) axisPointer and tooltip should
be able to update when mousewheel, since dataZoomInside can modify views on
mousewheel, and cause highlighted element to be not able to restore. (2) Fix
axisPointer highlighted item can not restore due to outdated dataIndexIndex.
This branch includes the following new commits:
new 4cf7cb4cf test(dataZoom): fix test case -- accidentally broken in v6.
And add more case for dataZoom edge cases.
new d013d5e39 timeScale: Add the missing rounding (broken from a previous
version) to time scale.
new 479dcd454 fix&feat: Change and clarify the rounding error and
auto-precision utils and solutions.
new d168bf237 fix(axisTick&dataZoom): (1) Apply a better auto-precision
method. (2) Make the rounding result consistent between dataZoom calculated
window and specified axis `determinedMin/Max`. (3) Fix unexpected behaviors
when dataZoom controls axes with `alignTicks: true` - previous they are not
precisely aligned and the ticks jump significantly due to inappropriate
rounding when dataZoom dragging.
new ffcc636fb fix(alignTicks): Change alignTick strategy: (1) Previously
some series data may be out of the calculated extent and can not be displayed.
(2) Previously the precision is incorrect for small float number (fixed at 10
rather than based on the magnitude of the value). (3) Make the tick precision
more acceptable when min/max of axis is fixed, and remove console warning,
because whey can be specified when dataZoom dragging. (4) Clarify the related
code for LogScale.
new a6ab2458f feat(alignTicks): (1) Fix LogScale precision. (2) Tweak
align ticks layout. (3) Remove unreasonable clamp in Interval calcNiceExtent,
and clarify the definition of `_niceExtent`.
new 18a23a875 refactor(scale): For readability and maintainability (1)
Migrate `calcNiceTicks` and `calcNiceExtent` from Scale class override member
functions to plain functions, similar to `axisAlignTicks`. Previously it's hard
to modify and error-prone. (2) Remove unnecessary override on Scale class
hierarchy and limit override usage, which is difficult to understand and
error-prone. (3) Simplify the inheritance - shift `LogScale` and `TimeScale`
inheritance from `IntervalScale` to [...]
new 0f4561dbe refactor&fix: (1) Unify series data union code - remove
union code from Scale; unify union entry and scaleRawExtentInfo creator and
cache to avoid error-prone impl; simplify the impl of coord sys call extent
uinon. (2) Fix LogScale precision bug introduced by previous commits.
new dedc5dc18 fix(logScale): (1) Thoroughly resolve a long-standing issue
of non-positive data on LogScale - exclude non-positive series data items when
calculate dataExtent on LogScale. (2) Include `Infinite` into `connectNulls`
handling on line series; the `Infinite` value may be generated by `log(0)` and
previously the corresponding effect in unpredictable on line series (sometimes
display as connected but sometimes not).
new 28e74ef83 fix(pie-on-cartesian): Previously when pie is located on
Cartesian, axes extent can not union pie center automatically. Commit
18a23a87585cc8a1575b63dcc4060af5007330fc has supported it. This commit updates
test cases.
new 64305a4b8 fix(dataZoom): (1) Fix dataZoom dragging cursor style (use
'drag' and 'dragging'). (2) Fix dataZoom bug that data info disappear when drag
release on the area that data info display should be triggered.
new fe932a2aa refactor&feature: (1) Uniform series data union logic;
previous they are implemented in several inconsistent ways and error-prone. And
also strict the extent calculation with uniformed utilities. (2) Refactor Scale
- uniform the implementation of the numeric transformations (such as axis
breaks, logarithm, ordinal related handling) with a decorator pattern and
decouple them from Scale class hierarchy. This brings consistent handling for
details and enables further exten [...]
new 1f74fd749 test(visual): Update markers.
new c4a38230a Merge branch 'release' into
pr/plainheart_fix/alignTicks-precision
new bdec91e39 refactor: Remove the default value of number round due to
its unreasonable and error-prone for small float number.
new 52ceb924a fix: (1) Fix dataZoom AxisProxy can not be cleared when
dataZoom option changed. (2) Fix onZero on double value axis and dataZoom is
applied on a base axis - onZero should be disabled by default.
new d47ea4ad7 fix(dataZoom): Do not display values outside of effective
extent.
new b16d96c39 chore: Tweak the usage of isFinite.
new 8de2b64fa feature&fix(axis): (1) feature: Enable uniform bandWidth
calculation in numeric axis (e.g., for tooltip shadow); it previously only
applicable to category axis, but buggy in numeric axis with bar series. And
enable the clip of tooltip shadow. (2) refactor: Introduce a dedicated workflow
phase for series aggregation and data statistics computation on a single axis,
allowting the results to be reused across multiple features. (3) fix: Fix
duplicate ticks in TimeScale and [...]
new 7a8d38bae fix: Fix inappropriate impl introduced by the previous
commits.
new dbfaf6a73 fix&feature: (1) feature: Add option boxplot.clip (2)
feature: Enable boxplot and candlestick containShape for "value"/"time"/"log"
axis, enable proper shadow axisPointer. (candlestick-case.html,
boxplot-multi.html) (3) fix: Fix candlestick ends shapes can not be displayed
on "value"/"time" axis. (candlestick-case.html) (4) fix: candlestick shape
width is inappropriate when datazoom filterMode is 'none'/'empty'.
(candlestick-case.html) (5) fix: In polar coordinate syst [...]
new 18bedbb5a fix: Temporarily fix incorrect stack base dimension
selection when both axes are value axes.
new bb56e9ab1 chore: Sync the modification of #21448 to release.
new bd19110f2 fix: (1) Clarify and uniform terminology and add comments to
explain EC_CYCLE. (2) Fix dataZoom in `appendData`, introduced by recent
commits.
new eb7530b3e fix(appendData): Fix that the dataZoom inside is disabled
when appendData is executed. And clarify the usage of appendData in comments.
new d2cc085b2 tweak: Clarity the previous implements of axis statistics.
new 12b6d9f83 Merge branch 'release' into
PR/plainheart_fix/alignTicks-precision
new b094f987d fix(toolbox): Fix that toolbox theme cause corresponding
icons are always displayed even if not required. See #21176 .
new 6de824dc0 fix(toolbox): Simplify toolbox and fix that toolbox throw
error when remove DataZoom feature.
new abb3ad41b fix: fix previous commit.
new 933585126 fix: (1) Previously hoverLayerThreshold modification does
not work. (2) Restrict the triggering of hoverLayer to only canvas renderer.
new 56a32c0bb fix(axisPointer&tooltip): (1) axisPointer and tooltip should
be able to update when mousewheel, since dataZoomInside can modify views on
mousewheel, and cause highlighted element to be not able to restore. (2) Fix
axisPointer highlighted item can not restore due to outdated dataIndexIndex.
The 32 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]