Adding GSON jar file to your project should fix this issue. If added, check if the checkbox next to the lib (gson-2.x.jar) in: ‘Project Properties’->’Java Build Path’->’Order and Export’ tab checked or not, if not select/check the checkbox. Clean and Build the project after changing the mentioned setting and it should work fine. Please refer this article on Importing GSON into Eclipse for more information.
—
Vishwas R
Team CanvasJS
Please take a look at this JSFiddle for rendering chart with dataPoints from form-data. Please refer our documentation on JavaScript Charts from JSON Data API and AJAX for tutorial on rendering chart with data that’s fetched via AJAX.
If this doesn’t help you resolve the issue you are facing, kindly create JSFiddle with form and sample data so that we can look into it, understand the scenario better and help you out.
—
Vishwas R
Team CanvasJS
You can achieve this with the help of multi-series column chart and secondary x-axis. Please take a look at this updated JSFiddle, which you can further customize according to your requirements.
—
Vishwas R
Team CanvasJS
You can customize the color of dataSeries by setting color property. Please take a look at this Gallery example showing Stacked Bar Chart with different colors for each dataseries.
—
Vishwas R
Team CanvasJS
You can achieve this by combining Error Chart with Column Chart as shown in this JSFiddle.
—
Vishwas R
Team CanvasJS
You can merge all the charts into single image with the help of html2canvas library and then print the image. Please take a look at this JSFiddle.
—
Vishwas R
Team CanvasJS
Number of slices (data points) in the pie chart are based on the number of dataPoints that you pass. Passing just ‘Percentbelum and Percentsudah’ in the chart-options should work fine in your case. Please take a look at gallery example on Rendering Chart in PHP with Data from database.
If this doesn’t help you fulfill your requirements, kindly share sample project with sample database over Google-Drive or Onedrive, so that we can look into it and help you out.
—
Vishwas R
Team CanvasJS
Yes, it’s possible to render multiple charts within a page. Please take a look at this tutorial for the same.
—
Vishwas R
Team CanvasJS
@ronaldtakarai @jstaufferbohlereng-com,
Apologies for the inconvenience caused. The issue seems to be due to the breaking changes in Webpack that was introduced in v2.2.0-rc.5. We will fix it in our React Component soon. Please find the working code here.
—
Vishwas R
Team CanvasJS
It seems to be working fine, please take a look at working sample shared in previous reply.
Kindly create sample project reproducing the issue you are facing and share it with us over Google-Drive or Onedrive so that we can run the actual code that’s causing issue and debug to resolve it.
—
Vishwas R
Team CanvasJS
Markers (dots) to the null data points will not be shown as the axis is numeric, where you can’t denote the position of null. However if you like to show markers and connect them with a line-segment without using connectNullData property, you can change null values to 0.
—
Vishwas R
Team CanvasJS
Axis labels, ticks and grids will be shown at every interval. To show labels at specific values, you can hide the entire axis labels and add striplines at required values as shown in this JSFiddle.
—
Vishwas R
Team CanvasJS
You can achieve this using stacked bar chart and line chart. Please take a look at this JSFiddle for the nearest possible solution.
—
Vishwas R
Team CanvasJS
It seems to be working fine with ionic 3 across browsers including Chrome, Firefox, Safari, Edge and IE. Please take a look at this sample project.
If the issue still persists, kindly create a sample project reproducing the issue and share it with us over Google-Drive or Onedrive so that we can look into your code, try it at our end to understand the scenario better and help you resolve it.
—
Vishwas R
Team CanvasJS