You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by "Antonakas, Sarantis" <S....@penspen.com> on 2021/09/30 11:32:05 UTC

change the mouse icon

Hi there,

I have to following tree and I want to be able when the cursor moves inside the tree where you grab it and move it to change from "pointer" to "grabber" so the user knows that now he can grab it.

The snippet below is the best I could do but isn't doing what I want to.


  myChart.on('mousemove', function (params) {
    if (params.seriesIndex === 0) {
        myChart.getZr().setCursorStyle('grab');
    }
});



[cid:image003.jpg@01D7B5F7.2F3019B0]


Thanks in advance

Regards
Sarantis Antonakas


? Please consider the environment before printing this e-mail or its attachments.
 ________________________________________________________________________
This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return E-mail and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. Please note that E-mails are susceptible to change.
The Penspen Group shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. The Penspen Group does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interference.
This Email is for discussion purposes only and cannot be used to create a binding contract.
The following UK companies within the Penspen Group and any electronic communication sent on behalf of any of them, are subject to the provisions of the UK Companies Act 2006;
THE PENSPEN GROUP LIMITED (Company Number : 980600) Registered Office: 3 Water Lane, Richmond, Surrey, TW9 1TJ Registered in England and Wales (VAT No; 239 7770 19)
PENSPEN LIMITED (Company Number: 584446) Registered Office: 3 Water Lane, Richmond, Surrey, TW9 1TJ Registered in England and Wales (VAT No; 239 7770 19)
MANCHESTER JETLINE LIMITED (Company Number: 2392093) Registered Office: 3 Water Lane, Richmond, Surrey, TW9 1TJ Registered in England and Wales (VAT No; 239 7770 19)
PENSPEN THEIA LIMITED (Company Number 12317095) Registered Office: 3 Water Lane, Richmond, Surrey, TW9 1TJ Registered in England and Wales (VAT No: 239 7770 19)
Penspen is also the trading name of the following companies;
The Penspen Group limited (Company Number : 980600) Registered Office: 3 Water Lane, Richmond, Surrey, TW9 1TJ Registered in England and Wales (VAT No; 239 7770 19)
Penspen Limited (Company Number: 584446) Registered Office: 3 Water Lane, Richmond, Surrey, TW9 1TJ Registered in England and Wales (VAT No; 239 7770 19)
Penspen International Limited, incorporated in Hong Kong, registered office: 2nd Floor, Business Avenue Tower, Al Salam Street, P.O. Box 46562, Dubai, UAE
Manchester Jetline Limited (Company Number: 2392093) Registered Office: 3 Water Lane, Richmond, Surrey, TW9 1TJ Registered in England and Wales (VAT No; 239 7770 19)
Penspen Corporation. incorporated in Texas, registered office: 16430 Park Ten Place Suite 550. Houston. Texas. 77084
Penspen (Services) Limited and Penspen Limited (Thailand), registered in Thailand, operating office: Permpoon Building, 5th Floor, 32 Soi Sukhumvit 87, Bangchak, Phrakanong, Thailand, 10260
Penspen S.A. de CV and Servicios de Ingenieria y Proyectos Latam, S.A. de CV, registered in Mexico, operating office: Samarkanda 306, piso 3 Col. Tabasco 2000, Villahermosa, CP 86035, Tabasco
Penspen Services Sdn Bhd, registered in Malaysia, registered office Level 15-2 Bangunan Faber, Imperial Court, Jalan Sultan Ismail, 50250, Kuala Lumpur
Penspen Energy Services Sdn Bhd, Registered in Malaysia, registered office Level 15-2 Bangunan Faber, Imperial Court, Jalan Sultan Ismail, 50250, Kuala Lumpur