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.

Customizing size of data points on Scatter Chart.

See original GitHub issue

I’m sure this is a result of me simply not understanding the API, but I can’t see to set/customize the size of my graph data points.

The only thing that seems to respond is Math.random()

Here is my config:

chart: {
  type: 'scatterChart',
  height: 250,
  color: [],
  showLegend: false,
  showControls: false,
  scatter: {
    onlyCircles: true
  },
  showDistX: true,
  showDistY: true,
  showMaxMin: true,
  tooltipContent: function(key) {
    return '<h3>' + key + '</h3>';
  },
  transitionDuration: 350,
  xAxis: {
    axisLabel: 'Belief',
    showMaxMin: true,
    tickFormat: function(d){
      return d3.format('.02f')(d);
    }
  },
  yAxis: {
    axisLabel: 'Emphasis',
    showMaxMin: true,
    tickFormat: function(d){
      return d3.format('.02f')(d);
    },
    axisLabelDistance: 30
  }
}

Here is the code that builds up the data:

      $scope.chart.data.push({
        key: node.title,
        values: [{
          y: yValue,
          x: xValue,
          shape: 'circle',
          size: Math.random()
        }]
      });

Is there a way to get every point to be of uniform size?

Thanks! Great Library!

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
raugaralcommented, Dec 11, 2015

Doesn’t work

0reactions
naguibihabcommented, Apr 22, 2017

Did anyone solve this issue? I want to have a fixed size for all my points.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change data markers in a line, scatter, or radar chart
Change data markers in a line, scatter, or radar chart ; In the Type box, select the marker type that you want to...
Read more >
How to Change Bubble Size in Scatter Plot in Excel (with ...
It opens the Format Data Series task pane. · Initially, click on the Series Options icon. · Secondly, expand the Series Options menu....
Read more >
How to make scatter plot points smaller in Excel - Facebook
To format the size of data points in a scatter plot graph, right click any of the data ... customize for larger or...
Read more >
How to change scatter plot points type and size in Excel
https://www.youtube.com/channel/UCmV5uZQcAXUW7s4j7rM0POg?sub_confirmation=1How to change scatter plot points type and size in Excel.
Read more >
How to make scatter plot points smaller in Excel - YouTube
How to adjust the size of scatter plot points in Microsoft Excel?To format the size of data points in a scatter plot graph,...
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