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
- Highcharts - legend titles rotation is not working fine in IE10
- Invalid width on creating hidden highchart
- How to create PIE chart with slice inside outer circle
- Highcharts JS remove tips & squared legends for linear chart
- Show only last 3 months data. other user can see on scrolling highcharts?
- Dynamical Update data Javascript Highchar
- How te get the name property of a selected point in a highmap
- Scrape data from a highchart using selenium
- Is there any way to define the indivdual dataLabels connector width in a pie chart
- Draw multiple series in Highchart from single JSON data container
- Seeking Guidance on Implementing HighCharts in Joomla
- Counting json data to create dynamic series in highchart line charts
- Highlighting only selected regions in highmaps
- how can I modify my JSON result?
- Is there a way to get superscripts to show up in highchart exports
- upgrade to highstock 1.3.1 breaks resize code
- How can I make a custom line type in high charts
- How to dynamically alter Highcharts radius option for a specific user?
- Align points with grouped bars
- Array as Highcharts series isn't working
- Draw another chart/or series on mouse hover in HighStock
- In Highchart, why drilldown data of pie chart is not of same color?
- Highcharts - Grouped Scatter? (relative to Grouped Column)
- How to know the highcharts version used in angular2-highcharts
- how to show text in center in highcharts?
- dynamic multiple series from different CSV-files
- HighChart Avoiding points on the plotbackground
- How implement a ball similar as in this image use Highcharts?
- Highchart Spider web chart, pointPlacement and tickInterval
- HighCharts dual x-axis with percent and date