aggarwal-h opened a new pull request, #520: URL: https://github.com/apache/echarts-doc/pull/520
Documents two new `axisPointer` options added in apache/echarts#21656. ### Options - **`axisPointer.triggerOnNoData`** (`boolean`, default `false`) — when enabled, the axis pointer stays visible at a position even if there is no data there. Mainly useful for charts linked by `echarts.connect`: hovering one chart where a connected chart has no data keeps the pointer shown on the other chart at the linked axis value instead of hiding it. - **`axisPointer.findPointOnConnectedCharts`** (`boolean`, default `true`) — set to `false` to stop a connected chart from snapping the pointer to a sample series point, so it follows the linked axis value only. ### Where - `triggerOnNoData` goes in the shared `option/partial/axisPointer-common.md`, so it is documented once and shown across all axisPointer contexts (x/y/radius/ angle/single/parallel axes, the `axisPointer` component, and `tooltip.axisPointer`). - `findPointOnConnectedCharts` goes in `option/component/axisPointer.md`, since the code reads it from the top-level `axisPointer` component only. Both options are documented in English and Chinese, tagged `Since v6.2.0` (please adjust if the release version differs). ### Related - Code PR: apache/echarts#21656 ### Verification Ran `node build/build-doc.js --env asf`; the option markdown parses and both options render into `option.json` (en + zh) with the version badge, the `echarts.connect` link, and the `triggerOnNoData` cross-reference. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
