score:1
Accepted answer
if i understand your question correctly, i believe this is what you are looking for:
[{"x": row[0], "y": row[1]} for row in rows]
please let me know if it's not!
Source: stackoverflow.com
Related Query
- chart.js scatter chart - displaying label specific to point in tooltip
- Mixed chart scatter plot with chart.js
- Non numeric for x-axis in scatter chart in CHART.js
- chart.js v 2.0.1 line, scatter chart pointRadius bug or I'm doing it wrong
- annotation line not visible in scatter chart in chartjs
- Flask with Chart JS Scatter Plot struggle
- Inverting X axis number labels in chart.js scatter chart
- Change dot size individually Scatter Chart -- ChartJS
- Moving the zerolines in ChartJS scatter chart
- Chart js - Polar Scatter Chart
- Chart.js : Controller for Scatter chart doesn't work for draw function
- Chart js scatter graph labels
- Chart js scatter - display label on hover
- How do you set up a chart.js scatter line chart through angular-chart.js?
- Modify the information box of the scatter chart in Chart.JS
- what is wrong with my code ? java script chart position
- How to print a chart rendered by code
- ng2 scatter chart how to put labels in x axis
- Scatter chart in chart.js
- VueJS + Chartjs - Chart only renders after code change
- Unable to draw a scatter chart with vue-charts
- How do I destroy/update Chart Data in this chart.js code example?
- Chart.js scatter chart stops working after extending to multiple datasets
- How to create a chart.js scatter chart with data from two lists
- getting additional value fields from data source for dx.chartjs doughnut chart
- I am using chart js to draw a chart. I did everything right but i don't know why the x axis and y axis label is not comming in chart. code below
- Chart JS: is possible mix Scatter and bar chart in Chart JS?
- Chart.js scatter chart plot data joins start and finish points together
- Background color does not work when trying to create my data before using scatter chart with chart.js
- Center origin of a Scatter Chart
More Query from same tag
- Delay animation of chart.js
- .destroy() generating error 'window.myChart.destroy()' is not a function
- EJS Tags with ChartJS?
- Chart.js Y-Axis data not rendering
- Include Percentage In Legend
- chart data on 24hr X axis using recharts, chart.js, I don't mind what
- charts.js stacked bar with polymer's wrapper chart-elements
- Define new position for tooltip in ng2-charts
- Plot a multi-line graph from grouped JSON object using Charts.js
- Error Message when using ChartJS with React
- Set min, max and number of steps in radar chart.js
- Horizontal stacked angular bar charts
- Font size will not change Chart.js version 3.2.1
- Chart.js: call method outside of onRefresh() method
- What are these line-boxes called in Chart.js, and how do I turn them off?
- Why i only get one value after executing "for loop" to display "datasets.data" in ChartJS
- Chart.js ignoring stepSize in the first and last step
- I need to build an array of arrays, having trouble conceptualizing
- How to set global/specific properies when updating line-chart using Chart.js?
- Angular 5 and chart.js ts error
- How can i add a calculated value on top of the bars in Chart.js?
- Highlight area programmatically - Chart.js
- How to add background image in bar chart column in Chart.js?
- Using lodash to prepare data for "last day user registration" chart
- Creating a horizontal bar chart extension on Chart.js
- How to update css for doughnut chart with ng2-charts
- Chart.js: width and height of a pie chart not respected
- Update Chart JS with date range selector
- Chart js show data on hovering legend
- How to disable Chart.js Radar Chart point labels