Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

166
Views
How do you join the points in an ECharts scatter charts?

line vs scatter I would like to join the points with a line in the scatter charts, like Scatter Line Chart in Chart js adding showLine: true.

option = {
  xAxis: {},
  yAxis: {},
  series: [
    {
      symbolSize: 20,
      data: [
        [10.0, 8.04],
        [8.07, 6.95],
        [7.07, 6.95],
        [13.0, 7.58]
        ],
      type: 'scatter'
    },
      {
      symbolSize: 1,
      color: 'red',
      data: [
        [3.0, 8],
        [3.0, 4],
        ],
      type: 'line',
      lineStyle: {
                "width": "2"
      },
    }
   
   ]
};
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Instead of drawing lineS on the scatter chart, you can draw scatter on the line chart, they will have exactly same effect:

enter image description here

Here's the config for it:

option = {
  xAxis: {},
  yAxis: {},
  series: [
    {
      symbolSize: 20,
      data: [
        [7.07, 6.95],
        [8.07, 6.95],
        [10.0, 8.04],
        [13.0, 7.58]
      ],
      symbol: 'circle',
      type: 'line'
    }
   ]
};
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!