Title: How to implement HighCharts in NativeScript with JavaScript? · Issue #5671 · NativeScript/NativeScript · GitHub
Open Graph Title: How to implement HighCharts in NativeScript with JavaScript? · Issue #5671 · NativeScript/NativeScript
X Title: How to implement HighCharts in NativeScript with JavaScript? · Issue #5671 · NativeScript/NativeScript
Description: Hi, I am using highcharts in nativescript by following some sample. It is working by loading custom local html file containing static graph data into webview. But i have one difficulty ,need to load the graph data dynamically. How i can ...
Open Graph Description: Hi, I am using highcharts in nativescript by following some sample. It is working by loading custom local html file containing static graph data into webview. But i have one difficulty ,need to loa...
X Description: Hi, I am using highcharts in nativescript by following some sample. It is working by loading custom local html file containing static graph data into webview. But i have one difficulty ,need to loa...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/5671
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to implement HighCharts in NativeScript with JavaScript?","articleBody":"Hi, I am using highcharts in nativescript by following some sample. It is working by loading custom local html file containing static graph data into webview. But i have one difficulty ,need to load the \r\ngraph data dynamically. How i can pass the data to html file to build the graph and i am writing JavaScript code. Please, Help me to resolve this. If you have any other solution please suggest best approach to graphs.\r\n\r\nThis is my html file,\r\n\r\n/////chart.html\r\n```\r\n\u003chtml lang=\"en\" \u003e\r\n\u003chead\u003e\r\n \u003cmeta charset=\"utf-8\" /\u003e\r\n \u003cmeta name=\"author\" content=\"Script Tutorials\" /\u003e\r\n \u003ctitle\u003eHow to create active charts using Highcharts | Script Tutorials\u003c/title\u003e\r\n \u003cscript src=\"http://code.jquery.com/jquery-1.7.1.min.js\"\u003e\u003c/script\u003e\r\n \u003cscript src=\"http://code.highcharts.com/highcharts.js\"\u003e\u003c/script\u003e\r\n\u003c/head\u003e\r\n\u003cbody\u003e\r\n\r\n \u003c!-- \u003cdiv\u003eNativeScript Charts\u003c/div\u003e --\u003e\r\n\r\n \u003cdiv id=\"chart_1\" class=\"chart\"\u003e\u003c/div\u003e\r\n \u003cscript type='text/javascript'\u003e\r\n $(document).ready(function() {\r\n\r\n// First chart initialization\r\nvar chart1 = new Highcharts.Chart({\r\n chart: {\r\n renderTo: 'chart_1',\r\n type: 'area',\r\n height: 350,\r\n },\r\n title: {\r\n text: 'Sample Graph'\r\n },\r\n xAxis: {\r\n categories: ['Processing.js', 'Impact.js', 'Other', 'Ease.js', 'Box2D.js', 'WebGL', 'DOM', 'CSS', 'Canvas', 'Javascript','Processing.js', 'Impact.js'']\r\n },\r\n yAxis: {\r\n title: {\r\n text: 'Interviewed'\r\n }\r\n },\r\n series: [{\r\n name: 'Dev #1',\r\n data: [30, 15, 20, 22, 25, 28, 30, 40, 80, 140, 50, 20, 30, 22, 25, 28, 30, 40, 80, 90]\r\n }, {\r\n name: 'Dev #2',\r\n data: [15, 15, 18, 40, 30, 25, 60, 60, 120, 70, 15, 15, 18, 40, 30, 25, 60, 60, 80, 70]\r\n }, {\r\n name: 'Dev #3',\r\n data: [1, 3, 6, 0, 50, 25, 50, 60, 30, 100, 5, 10, 8, 6, 0, 50, 25, 50, 60, 40] \r\n }]\r\n});\r\n\r\n});\u003c/script\u003e\r\n\u003c/body\u003e\r\n\u003c/html\u003e\r\n```\r\n\r\nAnd this is my xml, \r\n////page.xml\r\n```\r\n\u003cStackLayout\u003e\r\n \u003cWebView height=\"500\" src=\"~/chart.html\"/\u003e\r\n\u003c/StackLayout\u003e\r\n```\r\n","author":{"url":"https://github.com/RaghavMSG","@type":"Person","name":"RaghavMSG"},"datePublished":"2018-04-13T06:02:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/5671/NativeScript/issues/5671"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fa183cd7-364d-2644-130d-9b4bf41dc669 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D502:63833:1784EB7:1F058F7:696B86BE |
| html-safe-nonce | 3baf0cee0bc07ef92fd7ba0af5de81bcef5d8bfc8f99e7d1dcb04e9695d74b99 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTAyOjYzODMzOjE3ODRFQjc6MUYwNThGNzo2OTZCODZCRSIsInZpc2l0b3JfaWQiOiI2MzI4MTU4NDUxNTIzMDk0MjA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d88f5e2a5aa413b368fba531e9c1c64209e3b87b96821cfdf4c780e7d6c8753a |
| hovercard-subject-tag | issue:313979041 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/5671/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4af4f86fa48683a9238d423359adb80b464492d8412ada2990d8d9c349402dfa/NativeScript/NativeScript/issues/5671 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4af4f86fa48683a9238d423359adb80b464492d8412ada2990d8d9c349402dfa/NativeScript/NativeScript/issues/5671 |
| og:image:alt | Hi, I am using highcharts in nativescript by following some sample. It is working by loading custom local html file containing static graph data into webview. But i have one difficulty ,need to loa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | RaghavMSG |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width