score:12
HighCharts works with the DOM. You cannot use HighCharts or charting libraries that depend on the DOM directly in React Native, but you can use charting libraries in a WebView with React Native. I have not use High Charts specifically, but have used other charting libraries with WebView and it works great.
score:0
Add this line to the ChartView component : originWhitelist={['']}
Example:
<ChartView style={{height:300}} config={conf} originWhitelist={['']}></ChartView>
score:1
You can use this module: react-native-highcharts.
It works using the web engine on Android or iOS and the Highcharts JavaScript module to render dynamic charts.
Example:
<ChartView style={{height:300}} config={conf}></ChartView>
score:2
Here you can use this component to send the config json to the componente and it will be displayed
score:2
Two main ways you can utilise Highcharts in React Native app are :
- WebView component. I used this technique on other platforms (Appcelerator Titanium) as well.
- Official minimal Highcharts wrapper for React : highcharts-react-native.
As of now pre-requisite for this are:- node 11.2+
- npm 6.7.0+ or similar package manager
- React 16.4+
- React native 0.59.3+
To install:
npm install @highcharts/highcharts-react-native
NOTE: There are other un-official wrappers as well like react-native-highcharts but I have not used them.
Source: stackoverflow.com
Related Query
- Can we use Highcharts with React-Native?
- Is there any way we can use Highcharts with mPDF converter?
- Can I use highcharts in a pdf generate with prawn in Rails?
- How to use Highcharts React to create chart with multiple lines for same XAxis?
- How can I make React Native in Android aware of a click event in a tooltip in a Highcharts chart?
- Highcharts organization chart (org chart) with React Native
- Can I use iron-localstorage and iron-ajax with highcharts
- how can I use rangeselector and navigation in highcharts in the given code
- How to use highcharts with angular 5?
- How To Use Epoch Time With Highcharts Series Data?
- How to use highcharts with princeXML?
- Highcharts chart with 'datetime' xAxis - use categories on drilldown
- Rails ActiveRecord group_by & sum db results for use with Lazy HighCharts
- Can I with highcharts column stacking on hover not highlighting the whole serie
- Use Twitter Bootstrap popover with Highcharts
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- How do I use an Highcharts Solid Gauge in angular 6 with typescript?
- How can i force Highcharts to use same symbols in Legend and Series?
- Highcharts - Global configuration with common code and unique data & Headings
- creating a bar chart using Highcharts with React - getting an error that rendering div isn't found
- Can I sychronize two highcharts series with different years (leap year)
- How do I use Highcharts to display candlestick with small values?
- Angular4 with highcharts can't use world.js
- How to use Highmaps and Highcharts with Meteor?
- Can a Highcharts range selector use non-date linear ranges?
- How can I force ticks/grid lines on a Highcharts datetime X axis to arbitrarily line up with data points?
- Gauge Series of Highcharts with React not the Solid Gauge but Gauge Series
- How to scale Highcharts height on window resize with React
- How to draw a bubble map with longitude and latitude using Highcharts in react
- How can I make a graph with highcharts from csv file?
More Query from same tag
- axis.extremes.userMin & userMax undefined on redraw with multiple charts
- Highcharts bar: height by xAxis
- UIWebview not scrolling in jquery part
- How to add synchronized-charts in drilldown?
- Highcharts not printing the line when there is empty data in the beginning
- highchart custom menu with when i drilldown and drillup custom event (contextmenu) not working
- How to dynamically add grouped _categories in Highcharts in MVC
- Eliminate the gap at the end of a range of values in Highchart Bulletchart?
- Multiple axis does not work on Highcharts 4
- How do I select a region in pie chart (Highcharts)
- HighCharts Linechart MySQL/PHP data for multiple lines
- Highcharts showing nearest point causes flickering crosshair and strange order
- How do I display csv data in Highcharts?
- Highcharts chart width issue on lazy loading of stylesheet
- Performance issue adding series through loop in Highcharts
- Set axis extremes dynamically on drilldown
- Set custom symbol to HighCharts legend
- Export Chart Using PhantomJS From WebServer
- Using multiple hicharts on ASP.NET web form but only one shows on the upper section of the page pushing the page header down
- How to use selenium IDE to find/check if a div object has children?
- Highcharts xAxis Categories not Dsiplaying Properly
- How to Change Legend Text of a Chart Object in Crystal Reports 10
- IE 6 Script error when Highstock & Highcharts are loaded
- using Highcharters in R with Shiny, control highstock chart height failed
- highcharts-react-official rendering issue with React state
- Highcharts multiple graphs stacked in seperate "<div>" with combine zooming
- highchart place x-axis labels in between ticks on a datetime axis
- Updating basic column high chart
- Highstocks Flags (Combine the flags into single flag if the day have more than one flag)
- How to combine HighStock stock-chart and HighCharts bubble-chart in React JS?