# Radarchart Trace Error

**URL:** <https://community.plotly.com/t/radarchart-trace-error/9439>\
**Category:** Plotly R\
**Created:** [April 5, 2018, 11:50am UTC](https://community.plotly.com/t/radarchart-trace-error/9439 "2018-04-05T11:50:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cthielen](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@cthielen](https://community.plotly.com/u/cthielen)\
**Post date:** [April 5, 2018, 11:50am UTC](https://community.plotly.com/t/radarchart-trace-error/9439/1 "2018-04-05T11:50:27Z")

</div>

I’m using plotly’s 4.7.1 version and trying the radar chart examples from here:

> **[Radar Charts](https://plot.ly/r/radar-chart/)**
>
> How to create Radar Charts in R with Plotly.

However, I always keep getting this error when I want to display the radar chart:

Error: Trace type must be one of the following:  
‘scatter’, ‘box’, ‘bar’, ‘heatmap’, ‘histogram’, ‘histogram2d’, ‘histogram2dcontour’, ‘pie’, ‘contour’, ‘scatterternary’, ‘sankey’, ‘scatter3d’, ‘surface’, ‘mesh3d’, ‘scattergeo’, ‘choropleth’, ‘scattergl’, ‘pointcloud’, ‘heatmapgl’, ‘parcoords’, ‘scattermapbox’, ‘carpet’, ‘scattercarpet’, ‘contourcarpet’, ‘ohlc’, ‘candlestick’, ‘area’

Any ideas why this is happening?

---

<div class="post-metadata">

**Author:** ![cthielen](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@cthielen](https://community.plotly.com/u/cthielen)\
**Post date:** [April 5, 2018, 12:38pm UTC](https://community.plotly.com/t/radarchart-trace-error/9439/2 "2018-04-05T12:38:46Z")

</div>

I think the issue was, that I need to install via github to get the latest version (4.7.1.9000). Seems to work, but I get this error message (using the examples):

No scatterpolar mode specifed:  
Setting the mode to markers  
Read more about this attribute -\> [https://plot.ly/r/reference/#scatter-mode](https://plot.ly/r/reference/#scatter-mode)

However, it displays the chart.

---

<div class="post-metadata">

**Author:** ![bcd](https://avatars.discourse-cdn.com/v4/letter/b/ec9cab/32.png) [@bcd](https://community.plotly.com/u/bcd)\
**Post date:** [April 5, 2018, 12:40pm UTC](https://community.plotly.com/t/radarchart-trace-error/9439/3 "2018-04-05T12:40:42Z")

</div>

Hi @cthielen

You’ll need the dev version `4.7.1.900` - install with `devtools::install_github("ropensci/plotly")`

Plotly’s latest CRAN release `4.7.1` uses an older version of plotly.js (`v1.29.2`). Whereas, scatterpolar trace type were added in plotly.js `v1.33.0`. The dev version (`4.7.1.900`) of the R package uses the latest plotly.js release (`v1.35.2`)
