How to hide the points displayed on the chart graph?

I have the following jqPlot chart:

  $(document).ready(function () { var line1 = new Array(); @foreach (var item in Model) { <text>line1.push(["@item.VisitDate.Value.ToString("dd-MMM-yyyy")", @item.count]);</text> } var plot1 = $.jqplot('chart1', [line1], { title: '<span style="Color: Green " >Number Of Visits</span>', axesDefaults: { pad: 1.2 }, axes: { xaxis: { renderer: $.jqplot.DateAxisRenderer, tickOptions: { formatString: '%d/%b/%Y' } }, yaxis: { tickOptions: { formatString: '%.2f'} } }, highlighter: { show: true, sizeAdjust: 7.5, tooltipLocation: 'nw' // , formatString: '<b>%s</b>' }, cursor: { show: true, tooltipOffset: 6 } }) }); 

but I need to hide the circular points that are currently displayed on the graph of the graph for each value in the array. In other words, I need a jqPplot chart to show only a simple line without any circular dots, marker or tick, etc.

+4
source share
1 answer

To get rid of circular markers, you need to use the following options.

  seriesDefaults: { showMarker: false }, axesDefaults: { showTicks: false, showTickMarks: false }, 

Read this sample code .

+8
source

Source: https://habr.com/ru/post/1414791/


All Articles