0

I need to change to color and shape of points/items in the kendo react scatter chart. The default is circles with different colors but I need to change it to shapes of diamond, square, circle and plus.

Can anyone please provide help in this regard.

Billal Begueradj
  • 20,717
  • 43
  • 112
  • 130

1 Answers1

1
<ChartSeriesItem
    type="scatter"
    data={data}
    xField="rainfall"
    yField="windSpeed"
    markers={{
     visible: true,
     type: "triangle",
    }}
 />

It can be controlled with the Markers properties type and background

  • Thanks, this works fine.. The label colors are coming by default and even if i am changing the colors in the markers = { backgroundcolor : 'green' } . The color in the legend label is coming as the default colors which is not matching with the label color. Any idea how we can fix this? – Zohran Danish Nov 28 '18 at 09:38