The sample shared by @manoj-mohan seems to be working fine. If you are still facing issue, kindly create sample project reproducing the issue and share it over Google Drive or Onedrive, along with sample database, so that we can run it locally at our end, understand the scenario better and help you out.
—
Vishwas R
Team CanvasJS
Please take a look at this sample project for multiseries chart in JSP with datapoints being fetched from oracle database. You can use zooming / panning feature when there are more number of datapoints for better visualization, please refer documentation for more information.
—
Vishwas R
Team CanvasJS
Please take a look at this sample which shows rendering chart within React Modal.
—
Vishwas R
Team CanvasJS
There is no data for the entire graph for a variable, and so we are getting a flat line at zero.
Do you mean hiding axis line? If so, you can set axisX lineThickness property to 0 to do so.
If this doesn’t fulfill your requirements kindly share JSFiddle with sample data or a pictorial representation of your requirement so that we can understand it better and help you out.
—
Vishwas R
Team CanvasJS
Please take a look at this updated JSFiddle for an example on positioning label of dummy stripLine below the actual stripLine dynamically.
Please refer the following articles for more information on calculating height of a text.
Stackoverflow thread
Tutorialspoint
—
Vishwas R
Team CanvasJS
addTo method is used to add new element(datapoint) to the specified array(dataseries). Updating the marker properties of existing datapoint and re-rendering should work fine in your case. Please take a look at this updated JSFiddle.
—
Vishwas R
Team CanvasJS
It’s not possible to position single chart in multiple places in a page. However, you can create multiple charts with same chart-options and position it based on your requirements. Please take a look at this JSFiddle.
—
Vishwas R
Team CanvasJS
Samyukta,
The sample provided by @manoj-mohan seems to work fine with your case. Please take a look at this updated JSFiddle.
—
Vishwas R
Team CanvasJS
You can add dummy stripline with transparent color and position it below the actual stripline as shown in this JSFiddle.
In order to help us in understanding the issue, please have a reproducible demo of your chart.
This one step can assure you a speedy response. Fork out our template JSFiddle and reproduce the chart at your end. Try to keep it to the bare minimum by removing unnecessary code.
From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.
Having a JSFiddle helps us in figuring out the issue and many a times we can just edit your code on JSFiddle to fix the issue right-away.
—
Vishwas R
Team CanvasJS
Can you kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code, understand the scenario better and help you out?
—
Vishwas R
Team CanvasJS
Please take a look at this Sample Project which shows rendering column chart in JSP with data from Oracle Database.
—
Vishwas R
Team CanvasJS
Column charts are rectangular bars with lengths proportional to the values that they represent – which are vertical whereas bar charts are horizontal. Column and Bar charts have different orientations which can’t be changed.
—
Vishwas R
Team CanvasJS