Home forums Using CanvasJS datetime picker to dispaly a chart containing values from oracle database Reply To: datetime picker to dispaly a chart containing values from oracle database

#26143

@munmun,

how to fetch data from oracle database in canvasjs and present in a multiseries line chart. database is oracle and server side lang is java client side is javascript.

CanvasJS just renders the chart with the set of data being passed to it and doesn’t fetch data. Please refer this tutorial for more information on Querying Oracle Database and fetching data. Please take a look at this Sample Project. The sample shows the integration of CanvasJS charts in Java Server Pages with dataPoints to the chart being read from oracle database.

also i have a datetime picker so on refreshing the datetime picker accordingly the chart should get populated.

Updating dataPoints and re-rendering the chart on updating datetime picker should work fine in this case.

__________
Indranil Deo
Team CanvasJS