highcharts / highcharts-react-native

Other
103 stars 80 forks source link

Are the HighStock, HighMaps supported? #31

Open ksmzn opened 4 years ago

ksmzn commented 4 years ago

Hi!

This library doesn't support HighMaps, HighStock and Gantt, right? Do you have plan to support them? Or are there any other repositories?

sebastianbochan commented 4 years ago

Hi @ksmzn, The Highstock and Highmaps are not supported at this moment.

I marked your suggestion as enhancement for the future.

ashishpixels commented 4 years ago

Hi @sebastianbochan Is there any update on this? Would very much like to have Highstock support in the official Highcharts library

sebastianbochan commented 4 years ago

Hi @ashishpixels, We are still discussing this. The problem is more complicated than looks like (stocktools design etc).

mbalbera commented 4 years ago

hi @sebastianbochan,

Is there any chance that there has been movement towards adding highstock?

pawelfus commented 4 years ago

We haven't had time to prioritize this issue @mbalbera - no ETA thus. I wouldn't expect this sooner than in Q3/Q4.

mbalbera commented 4 years ago

@pawelfus the only reason i need high stocks is to use ordinal to get rid of nights and weekends for financial data. Any chance that's on the horizon?

pawelfus commented 4 years ago

Ordinal feature is integral part of Highcharts Stock. We have no plans to decouple it from Stock and integrate in Highcharts.

In Highcharts you can use xAxis.breaks. It's not as easy as ordinal but you should be able to define weekends and nights easily (it's a bit harder with bank holidays, but once you have full list of them, it should be fine).

mbalbera commented 4 years ago

The following is me trying to use xAxis.breaks unsuccessfully. I am trying to skip weekends from 4pm on friday to monday at 9:30am (eastern times) and Nights from 4-9:30 the following morning. breaks:[{ // Nights from: Date.UTC(2020, 9, 6, 16), to: Date.UTC(2020, 9, 7, 8), repeat: 24 36e5 }, { // Weekends from: Date.UTC(2020, 5, 19, 16, 0), to: Date.UTC(2020, 1, 22, 5, 30), repeat: 7 24 * 36e5 }]

mbalbera commented 4 years ago

I solved the problem with the following (after it was clear breaks didn't work):

  1. changed x-axis from datetime to category,
  2. I mapped my data from [[date, value],[date,value],etc..] to [[index,value], [index, value], etc...],
  3. I mapped my dates into its own array and formatted them from unixtime to human readable time,
  4. I set my labels to use the dates array.
OskarEichler commented 4 years ago

+1 for HighStock. Currently using a third party wrapper but would like to change to this official one. Need range selector support.

wzhang2 commented 4 years ago

+1 for highstocks, implemented our own range selector as a workaround

sebastianbochan commented 4 years ago

At this moment we still fixing some small bugs and issues with 3.x version. If it will be stable we will consider add Highstock or Highmaps then. As a result we avoid a flood of problems, which could be really difficult in debugging process.

TD;LR We'd prefer to develop the wrapper step by step.

Sigve84 commented 3 years ago

What is the status of using Highstocks in React Native?

KacperMadej commented 3 years ago

Hi @Sigve84

Currently, Highcharts Stock is not supported and there is no plan to implement it.


This project is no longer actively maintained

As of 01.01.2021, The React Native wrapper is no longer maintained by Highsoft. The repository will remain available, but we can not guarantee that it will work as intended with future releases of both React Native itself, or Highcharts.

(https://github.com/highcharts/highcharts-react-native#deprecation-disclaimer)

erickcrus commented 3 years ago

The library is very good, but I'm sad for not supporting candlesticks charts... unfortunately my search for a good library isn't over yet :(