0

In jqchart, how can I hide the dots in a line graph? I only want to display the line, not the dots for each point. Thanks! I can't seem to find it in the docs.

My current axes are set up with these defaults:

  axisDefaults: JqChart.Axis = {
    zoomEnabled: true,
    reversed: false,
    type: JqChart.AxisTypes.linear,
    visible: true,
    labels: { visible: true },
    majorGridLines: { strokeStyle: 'silver' },
    // minorGridLines: { strokeStyle: 'silver' } // set or uncomment for gridlines between ticks
  };
Jonathan Tuzman
  • 11,568
  • 18
  • 69
  • 129

1 Answers1

0

Found it, it's a property of the series called markers.

config.series = [{
      type: 'line',
      markers: { size: 0 }
    }];
$(this.chartWrapper.nativeElement).jqChart(config);
Jonathan Tuzman
  • 11,568
  • 18
  • 69
  • 129