Show bar charts on bing map using cesium API

Hi,

We want to the show the bar charts on Bing map. Is it possible to show the
bars/column chart on bing map using cesium api.

It will be good if you have sample code to show the bar charts on bing map.

Thanks!

Balasaheb

Hi Balasaheb,

What do you mean by the bar charts? Do you mean something like this sandcastle example: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=GeoJSON%20and%20TopoJSON.html&label=

Cesium has a lot of support for drawing shapes with properties determined by some external data, so whatever you have in mind, we should hopefully be able to help!

Best,

  • Rachel

Hi,

We want to show bar charts (like we build microsoft excel) on map.

Hi,

Thanks for reply.

We want to show bar charts (like we build microsoft excel) on map.

Here is Sample http://www.statisticshowto.com/what-is-a-bar-chart/

Is there any way or sample code to achieve this.

Thanks!

Balasaheb

Hi Balasaheb,

Cesium can definitely support drawing basic bar graphs in either 2D or 3D. I’d say the most relevant examples are:

(Click Custom Styling)

To graph some property in your dataset, you’ll basically just loop over your data, creating an entity (say a box, although you could also extrude a polygon) for each one at some specified map position, and use whatever property of your data that you want to graph to compute a height for that piece of geometry.

Hope that helps!

  • Rachel