bobby
Posts: 13
Joined: Fri Jan 29, 2021 3:56 am

How to transpile modules? Typescript edit source

Hello once again and thank you as always.

Very likely newb typescript question but...
I am confused about the build process of highcharts and I'm having trouble finding information.

I need to edit the zoom function on map.src.js. The file says edit the ts file only? However the TS file has no function bodies?

To test I just modified the minified version.

I have tsc installed but Im confused on how to build the files.

Any help is appreciated.
Thank you
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: How to transpile modules? Typescript edit source

Hi,
Thanks for the message and question.

You want to extend your chart, below its article from our page where is describing how to extend in typescript.
What function from zoom inside the map do you want to change?

Documentation:
https://www.highcharts.com/docs/advance ... typescript

I'm waiting for news from you.
Best regards.
Sebastian Hajdus
Highcharts Developer
bobby
Posts: 13
Joined: Fri Jan 29, 2021 3:56 am

Re: How to transpile modules? Typescript edit source

Hello, I am meaning to prevent yAxis zooming and locking xAxis zoom right extremes to dataMax for stock charts. I've done before by finding the code in the min file and working with that temporarily. Thanks for the help I'm just a newb with typescript so I will just try this out.
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: How to transpile modules? Typescript edit source

Hi,
Thanks for explaining.

If you have more questions you can reach me any time.
Regards.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Usage”