-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
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
Exporting of PNG,jpg,pdf,xlsx etc not working in angular 7 #101
Comments
Please help me solve this...it's urgent |
In our case after updating to Angular 7, exporting buttons generated from amcharts3 are just refreshing page, while on Angular 5 everything worked out of the box. Anyone had similiar problem ? @Pauan do you maybe know cause of this issue? |
Do u solve this? I have the same issue |
I had solved this.
|
What exactly do you mean by 3rd step ? |
I am using the below code....
import { AmChartsService, AmChart } from "@amcharts/amcharts3-angular";
constructor(private AmCharts: AmChartsService){}
this.chart = this.AmCharts.makeChart("chartdiv_ConversationVsUsers", { "type": "serial", "addClassNames": true, "theme": "none", "legend": { "position": "top", "align": "center", "equalWidths": false, "valueAlign": "left" }, "balloon": { "adjustBorderColor": false, "horizontalPadding": 10, "verticalPadding": 8, "color": "#ffffff" }, "dataProvider": data, "valueAxes": [{ "axisAlpha": 0, "gridAlpha": 0.05, "position": "left", "title": "Total Count" }], "chartCursor": { "cursorAlpha": 0, "zoomable": false }, "startDuration": 1, "graphs": [{ "lineColor": "#81D0FF", "id": "g1", "fillAlphas": 0.4, "title": "Conversations", "valueField": "conversations", "balloonText": "<div style='margin:5px; font-size:19px;'>Conversations:<b>[[value]]</b></div>" }, { "id": "graph2", "balloonText": "<span style='font-size:12px;'>[[title]] :<span style='font-size:20px;'>[[value]]", "bullet": "round", "lineThickness": 3, "bulletSize": 7, "bulletBorderAlpha": 1, "bulletColor": "#FFFFFF", "useLineColorForBulletBorder": true, "bulletBorderThickness": 3, "fillAlphas": 0, "lineAlpha": 1, "title": "Users", "valueField": "users" }], "categoryField": "date", "categoryAxis": { "gridPosition": "start", "gridAlpha": 0.05 }, "export": { "enabled": true, "libs": { "path": "../libs/" } // , // "fileName": "ConversationVsUsers" + dateRange } });
I am able to get the button but able to download it.
Please suggest.
The text was updated successfully, but these errors were encountered: