score:0
presumably, 'hdnxaxis' is the id of a hiddenfieldcontrol server control? perhaps the id is not what you think
var javascriptxvalue= $.parsejson($("#"+ <%= hdnxaxis.clientid %>).val());
instead of passing strings via an input, you could use server tags to directly inject the values into the page. like this:
<%= "alert('" + mypublicproperty + "')" %>
this should alert you to the value of the property defined in your code behind. you could then set it to a js variable like so:
<%= "var javascriptxvalue = '" + xproperty + "';" %>
you will need to run this bit of code directly in an aspx/ascx/razor page to set the variables though, i think it's better than relying on a control with a particular id though.
Source: stackoverflow.com
Related Query
- passing json values to highcharts from .net code behind
- passing formatting JavaScript code to HighCharts with JSON
- Highcharts Display values from sql via json
- Highcharts Stacked Column chart from JSON not charting correct values
- Highcharts with values from multiple JSON file
- Get Key names and Values names from JSON and use in Highcharts
- Passing data from PHP array to Highcharts chart with JSON
- Highcharts displays series names but missing data points from json source
- adding series to highcharts from JSON
- Passing Django Database Queryset to Highcharts via JSON
- Send JSON data to highcharts pie from asp.net MVC controller in C#
- How can i change highcharts data values by selecting from a dropdown list
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- AJAX displaying values from two different functions in a single Highcharts chart instead of two different ones
- Passing a JavaScript function from JSON encoded PHP
- Highcharts bargraph from json data in angularJS
- Passing data from db into Highcharts in Rails 3.x
- passing data from database to highcharts in Django
- Formatting JSON from a Pandas data frame for Highcharts within a Django template
- How to make Highcharts fetch data from external JSON file?
- Highcharts multiple series json from php
- Use of DotNet HighCharts dll to make charts in code behind
- Passing data to highcharts from javascript array or variable
- How can I pass values from Highcharts event callbacks (click, mouseOver, mouseOut) back to React component member function?
- Passing JSON in variable to HighCharts
- How to generate highcharts chart from multiple local json files
- Extracting data from a JSON call to a Postgres table for use in Highcharts (without PHP)
- Getting data from Postgres in JSON format in ROR into a Highcharts javascript
- Charts using Highcharts with multiple series from JSON
- Highcharts polar chart wind rose data from JSON
More Query from same tag
- How to set custom tooltip design in HighCharts?
- Pandas Highcharts - Display Chart with Flask
- How to call a plugin in CakePHP 2.x Shell?
- clip path in highcharts chart makes line invisible
- Highcharts min y-axis value
- Highslide popup in Highcharts not showing properly
- Formatter Using HighCharts
- Highcharts Sankey Colors not working in django
- Highcharts - Incorrect tooltip position when zoomed in
- Periodic events with duration
- highcharts-export-clientside Unsupported export format
- Highcharts 5: TypeError: Cannot read property 'chart' of undefined at e.Chart.reflow
- highCharts overlay dataLabels
- Issue with npm and Highcharts
- Too many series drawn with unused CSV data column
- Hide first yAxis label in Highcharts
- Highcharts - add additional export options without losing default ones
- Chart js line with asp.net
- having trouble with AlphaVanatage API, which return a Json timeseries, and I am not able to work with in python, since I need to graph with Highgraph
- HighCharts specifying min, max and tickInterval not giving expected results
- tickinterval not working high chart for x axis
- angular2-highcharts series highlight
- HighCharts: Keeping Tooltip on Chart Click (Chart, Not Series)
- Highcharts dynamic stacked area
- Legend on bottom with highcharts
- Display name/label/description in Highchart timeline tooltips
- How to access different contexts of 'this' in HighCharts callback (Angular / Typescript)
- Highchart and yii not drawing a pie
- Show TIME instead of DATE in Timeline Highcharts
- Display label stack Label in Highcharts