question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to set options in scatter chart

See original GitHub issue

Hi, I cannot make the scatter chart draw lines; but it works for a line-chart.

options: {
  showLines: true,
}
<line-chart :data="{1: 11, 2: 6, 2.5:9, 3:10}" :library="options"></line-chart>
<scatter-chart :data="{1: 11, 2: 6, 2.5:9, 3:10}" :library="options"></scatter-chart>

What am I doing wrong?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:17 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
focussingcommented, Aug 9, 2018

Just saw your update of vue-chartkick to 0.5.0. And it was a great update: schermafbeelding 2018-08-09 om 07 52 25

<line-chart :data="data" :library="options" :dataset="dataset" :xtitle="xTitle" :ytitle="yTitle"></line-chart> And

options: {
    // title: 'halloo',
    showLines: true,
},
dataset: {
    pointRadius: 1,
    fill: true,
    backgroundColor: 'Orange',
},
  1. Just can’t figure out the difference between :library and :dataset in relation to the chartjs docs.
  2. Where do I put the “title” options? In :library it disrupts the graph, and in :dataset it does not work.
  3. How can I use chartjs plugins? I need a zoom and panning function.
0reactions
black-x98commented, Aug 3, 2021

Where do I find the full documentation of what can be put in “options” for the :library prop?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change data markers in a line, scatter, or radar chart
In a line, scatter, or radar chart, do one of the following: · On the Format tab, in the Current Selection group, click...
Read more >
A Complete Guide to Scatter Plots - Chartio
Scatter plots are an essential type of data visualization that shows relationships between variables. Use this tutorial to learn how to use this...
Read more >
Scatter Chart - Chart.js
Scatter charts are based on basic line charts with the x axis ... const config = { type: 'scatter', data: data, options: {...
Read more >
How to create a scatter plot and customize data labels in Excel
During Consulting Projects you will want to use a scatter plot to show potential options. Customizing data labels is not easy so today...
Read more >
How to customize markers in excel - YouTube
In this video I show how to change the marker styles in scatter charts in excel. The marker options in excel can appear...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found