taylorfullstack commented on issue #12166:
URL: https://github.com/apache/echarts/issues/12166#issuecomment-2508279902
> > It's the end of 2024, Echarts is on the touch screen of the Windows
system, and the inability to touch the screen to zoom and pan has not been
solved? Is there a way to fix it?
>
> import * as echarts from "echarts"; _**import zRenderEnv from
"zrender/lib/core/env";**_
>
> _**zRenderEnv.touchEventsSupported = true;**_
>
> const chartContainer = document.getElementById("chart-container");
>
> const myChart: echarts.ECharts = echarts.init( chartContainer, null, {
renderer: "canvas", useDirtyRect: false, _**useCoarsePointer: false,**_ }, );
@Serendipity459 I'm curious about whether or not this solution works for you.
--
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]