Highcharts export functionality is not working if I use requirejs to load all the files of my angular project.
Let me know if any thing I am missing
thanks a lot in advanced
Related
I'm trying to implement microfrontend with Vaadin 14. I've managed to accomplish a working version thanks to the Vaadin official documentation and various examples on github, using WebComponentExporter. However I cannot find any information about using css in these exported webcomponents. I've tried putting #CssImport everywhere, with no success.
I'm pretty much in the same situation as Stuart in this unanswered Vaadin forum question: https://vaadin.com/forum/thread/18466808/cssimport-when-using-component-exporter
Since that forum is now read only, I'm hoping to find a solution here.
Try follow this tutorial https://vaadin.com/docs/v14/flow/integrations/embedding/tutorial-webcomponent-theming:
Add #Theme annotation on top of your exporter class:
#Theme(themeFolder = "my-theme")
public class MyComponentExporter extends WebComponentExporter<MyComponent> {
// ...
}
Add styles.css to your ${project.root}/frontend/themes/my-theme/ and put there your styles which will apply to your component shadow DOM (to target the document DOM, place your styles in document.css), like this:
:host {
// MyComponent's background color to blue
background-color: blue;
}
I tested it with V14 + Vaadin Portlet + Liferay 7.3 and it works in both production and dev modes. Vaadin Portlets are based on embedded components, so it should work also for regular servlet-based Vaadin applications.
Try to compile with the production profile. The microfrontends examples do not comment on it but if you are not with the production profile they do not work, at least in my case.
Check that the webpack.config.js file is not filtering the css files.
Check that the css files are in the correct frontend folder.
I want to add the high chart editor into my existing ReactJS application. Can you give me some suggestions? I am trying to explore from last 1-week onwards but no results.
Is it possible to send a basic working example of a high chart editor with ReactJs?
Thank You
I want to integrate highmap chart with an Angular 5 application. I have tried angular-highchart module but it's not working as expected.
angular-highchat
Let me know if you have any solution or any other way to integrate highmap.
Try to use highcharts-angular package instead of mentioned above. There shouldn't be any problem with Highmaps implementation. Here the reference link to package and also the documentation, where everything is described very precisely and clear: https://github.com/highcharts/highcharts-angular
Has anyone gotten Highcharts working within Google Apps Scripts.
http://www.moxiegroup.com/moxieapps/gwt-highcharts/download.jsp
I know that you can do in GWT via:
http://www.moxiegroup.com/moxieapps/gwt-highcharts/quickstart.jsp
Is there anyone aware of how to apply this to Google Apps Scripts environment?
If you're using HtmlService to publish your web app, you can certainly add the Highcharts javascript file to your page with <script> tags, but be warned that Google Caja sanitizes your HTML code before it displays it to the user. What does this mean? Well, since the highcharts js file is pretty big, it will take a while (in the realm of several seconds) to sanitize it.
You're probably better off using the Apps Script Charts service.
I need to export graph using Highcharts-serverside-export with Rhino/Batik (One2team) to use in my PDF. The problem
I am able to get a nice SVG with the graph when used HighChart with Rhino-1.7R2.
When used HighChart with Rhino-1.7R3 I got SVG without a graph.
I need to use Rhino1.7-R3 because in my project we are using WRO4J (WRO4J has dependency with Rhino-1.7R3). If I m using Rhino-1.7R2 it is solving my problem but creating a more bigger problem by breaking the whole UI of my application.
Any help is really appreciated.
Is the Highcharts-serverside-export deployed as a part of your web app?
Since it requires an older version of rhino, you have the following options:
Use older version of wro4j (<=1.4.5) which is compatible with rhino-1.7.R2
Deploy highchart in a different web app. This way it could use the rhino-1.7.R2 and doesn't conflict with the web app using wro4j which uses rhino-1.7.R3.