score:1
Accepted answer
yAxis: { title: { text:Yaxis } },
score:1
yAxis: {
title: {
text:Yaxis
}
},
The above code works for me. Make sure If RadioButtonList1.SelectedItem.Value = 1 Then this if condition is satisfied. I tried following code:
var Yaxis = 'default';
function draw(d) {
var testarray = JSON.parse(a);
var testarray1 = JSON.parse(a1);
var testarray2 = JSON.parse(a2);
if(d == 1)
{
Yaxis='Fruit Eaten..';
}
else if(d == 2)
{
Yaxis='Fruit not Eaten..';
}
else
{
Yaxis='Your Default value here...';
}
}
}
Source: stackoverflow.com
Related Query
- call hidden value to highchart
- Change color of bars depending on value in Highchart bar-chart with MVC3
- Call an angular component method when we click on highchart series
- Get X Axis value on bar Highchart click event
- Highcharts reversed line chart is partially hidden at min value
- Highchart not resized when hidden
- HighChart xAxis Datetime value
- max Y Axis value in a Highchart
- Is there a way how to dynamically create a plotline in highchart when the value is lower than previous one?
- highchart position label on xAxis value
- How change Highchart minimum value
- start value in y-axis in HighChart
- Highchart does not load data from hidden input when using .val
- X axis value in stackLabels Formatter in bar highchart
- How to fill dynamic json value in drill down highchart
- Highcharts error #13 while instantiating highchart on ajax call
- Highchart xAxis and value did not align
- Tooltip is not hidden after formatting in highchart
- Highchart xAxis labels formatter not displaying returned value
- Change color code on colum, depending on data value (highchartJS)
- How to Use String value in Highchart Series
- Highchart Axis with only min and max series value
- change VueJS component data value from inside Highchart event
- Vue js + HighChart - how can I make a synchronous axios call before the component get rendered?
- Call a function from within highchart click event in reactjs
- Hide a category when a series name has no value attributed to it highchart
- Setting custom value as label in bar highchart (Rshiny)
- How to add value of y-axis under the x-axis labels in highchart with given dataset
- How to call a function after Highchart animation complete In Anguler?
- Highchart Drilldown with data call when clicked
More Query from same tag
- How can I align the scale on my HighCharts graph with the axis rather than the margins?
- Highcharts Export-data: Show notes in the data table
- how to show specific tick value on highchart gauge?
- Stop Highcharts Networkgraph from redrawing the markers when hovering
- Rails, Highchart maps - adding custom data
- Highcharts: Is it possible to display series with the same name in different columns?
- Highcharts multiple legends
- Highcharts CSS styling missing in exporting context button
- Uncaught TypeError: Cannot read property 'mouseIsDown' of undefined
- Highchart to show progress percentages in horizontal bars with real time data?
- Highcharts need parse data for showing points?
- putting a semi-transparent div over a highcharts graph
- HighStock Start Month rangeSelector And series.compare Not Working on Initial Load
- Highcharts data [x,y] written by golang
- How to set variable in high chart data field
- Adjust space to the sides of highchart series
- highcharts bar graph layout issues
- highcharts export differs from presented one
- React Highcharts Jest testing error: `InvalidCharacterError`
- Highcharts custom animation support
- Highchart - Export data as Excel file
- how to change the width between columns ? HIGHCHARTS
- what should be the initial dataset from millions of data points for stock line highcharts
- Parse json and give to category in Highcharts
- Highcharts - issue about full chart width
- Update Of Chart Series Colors Fails When Drilled Into Chart
- How to create a range between series?
- Highstock flag hover state: update font color
- Highcharts not working when pass the javascript variable as hightcharts series data
- link 2 different types of highcharts data