We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I'm facing the issue with the serial amcharts. when we click on the dimensions(below of the graph) I am unable to remove the bars on the graph.
Here is the code I'm trying:
AmCharts.addInitHandler( function ( chart ) { if ($(chart.div).data('height') == 'dynamic') {
var categoryWidth = 40; var minHeight = 200; var chartHeight = categoryWidth * chart.dataProvider.length; chart.div.style.height = minHeight + chartHeight + 'px'; }
}, ['serial'] );
this.initConfig = function() { var default_config = { "type": "serial", "categoryField": "category", "pathToImages": "http://cdn.amcharts.com/lib/3/images/", "addClassNames": true, "categoryAxis": { "gridPosition": "start", "labelsEnabled": false, "tickLength": 0, 'gridColor': '#A9A9A9' }, "graphs": [ { "fillAlphas": 1, "balloonText": "[[category]]: [[value]]%", "type": "column", "valueField": "column-1", "lineAlpha": 0 } ], "valueAxes": [ { "id": "ValueAxis-1", "title": this.yLabel, 'maximum': this.yMax, 'minimum': 0, 'gridColor': '#A9A9A9' } ], "balloon": { "fixedPosition": false }, "titles": [ { "size": 15, "text": reportType } ], "dataProvider": data }; $.extend(true, this.config, default_config, this.options); };
_.bindAll(this, 'initConfig');
this.initConfig();
this.chart = AmCharts.makeChart(this.$el.attr('id'), this.config); return this.chart; };
This is the Serial amcharts.
Could you please help me on this issue.
Thanks Advance.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm facing the issue with the serial amcharts. when we click on the dimensions(below of the graph) I am unable to remove the bars on the graph.
Here is the code I'm trying:
AmCharts.addInitHandler( function ( chart ) {
if ($(chart.div).data('height') == 'dynamic')
{
}, ['serial'] );
this.initConfig = function() {
var default_config = {
"type": "serial",
"categoryField": "category",
"pathToImages": "http://cdn.amcharts.com/lib/3/images/",
"addClassNames": true,
"categoryAxis": {
"gridPosition": "start",
"labelsEnabled": false,
"tickLength": 0,
'gridColor': '#A9A9A9'
},
"graphs": [
{
"fillAlphas": 1,
"balloonText": "[[category]]: [[value]]%",
"type": "column",
"valueField": "column-1",
"lineAlpha": 0
}
],
"valueAxes": [
{
"id": "ValueAxis-1",
"title": this.yLabel,
'maximum': this.yMax,
'minimum': 0,
'gridColor': '#A9A9A9'
}
],
"balloon": {
"fixedPosition": false
},
"titles": [
{
"size": 15,
"text": reportType
}
],
"dataProvider": data
};
$.extend(true, this.config, default_config, this.options);
};
_.bindAll(this, 'initConfig');
this.initConfig();
this.chart = AmCharts.makeChart(this.$el.attr('id'), this.config);
return this.chart;
};
This is the Serial amcharts.
Could you please help me on this issue.
Thanks Advance.
The text was updated successfully, but these errors were encountered: