Highcharts

put different names to each bar in Highcharts

痞子三分冷 提交于 2019-12-11 14:12:38
问题 How I can rename each bar, I want to have different names. always it appears "bar1", "bar2", etc. this is the name of the series. but I want it to appear in place of those texts, others I want to customize. this is what I do. put different names, if there are 9 bars I want to put different names to the bars, bar1, bar2, bar3, Bar4, Bar5, Bar6, Bar7, Bar8, Bar9. I do not want to repeat in my example. series: [{ name: 'bar1', data: [1000, 950, 920, 0, 850], color: "#FF0000" }, { name: 'bar2',

Make a choropleth from a non-highmap-collection map

杀马特。学长 韩版系。学妹 提交于 2019-12-11 14:09:13
问题 I've been trying to make a choropleth map with hcmap from highcharter package; I obtained the polygons from my own shapefile because it's a map that is not on the list of highmap's collection. To do so, first I managed to transform my shapefile to a GeoJson file, as described here: https://blog.exploratory.io/creating-geojson-out-of-shapefile-in-r-40bc0005857d Later I managed to draw the map using the package geosonio as described here: http://jkunst.com/highcharter/highmaps.html#geojsonio

Highcharts column Point Click

拥有回忆 提交于 2019-12-11 13:44:29
问题 Hello I have already asked a question on Highcharts Point Click not working. Further to that what I have found is my click function works in google chrome but not in IE 8. Can you please help me with this? I am not getting any responses on my earlier question hence I am posting this again - Below is my code - var columnoptions = { chart: { renderTo: 'container', type: 'column' }, title: { text: 'Exposure Details - Column Chart' }, xAxis: { categories: [] }, yAxis: { title: { text: 'Exposure'

HighCharts.StockChart remove zoom feature

℡╲_俬逩灬. 提交于 2019-12-11 13:33:19
问题 We have a StockChart and it has a zoom below the graph. Well, just look at the jsfiddle http://tinyurl.com/lfvyx5n I want it all except the bottom zoom bar and the zoom 1m 1year, etc. etc. and that date range selector. These are on by default but how can I turn it off. My other option was to convert to HighChart.Chart which then is not doing dates anymore :( :(. I am just looking for a real quick option. thanks, Dean 回答1: You have to disable navigator to remove the bottom bar and to disable

Highcharts bubble chart dataLabels overlapping despite z-index

喜欢而已 提交于 2019-12-11 13:30:30
问题 I have a problem with the bubble chart. In fact, i have some points which have the same coordinates with a different name and maybe a different size (z point). For these points, i have a superposition of labels. The z-index solution doesn't work (https://stackoverflow.com/questions/15843238/highcharts-bubble-chart-datalabels-overlappinghttps://stackoverflow.com/questions/15843238/highcharts-bubble-chart-datalabels-overlapping). Does anyone know of any solution to this problem ? I thought to

HighCharts Keep Vertical Line on Click Event

99封情书 提交于 2019-12-11 13:20:11
问题 Using this example: http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/stock/demo/candlestick-and-volume/ When you hover over points on the chart, you get a nice vertical line showing you which point you're currently on. I want to modify the click event so that the vertical line stays when I hover away after a click. Changing the line color would be ideal on click, but not necessary. If I click another point I'd want to remove any previous lines. Any

Implementing highcharts in OOP Javascript

☆樱花仙子☆ 提交于 2019-12-11 13:19:06
问题 I want to implement highcharts in full object oriented way and fully configurable. So that I can just call the object and pass in the values for the options the chart should display. So I started with creating a function like: highchartclass , please look at the code below: $(function () { var highchartclass = { create: function (toId, type) { return new Highcharts.Chart({ chart: { renderTo: toId, type: type, backgroundColor: 'transparent' }, legend: {}, subtitle: { text: '' }, xAxis: {},

Highcharts adding additional series and axis breaks existing yAxis min/max

做~自己de王妃 提交于 2019-12-11 12:59:05
问题 In the following fiddle (based on a Highcharts example), the first series shows correctly, taking up the entire height of the chart. http://jsfiddle.net/markalroberts/h9j53yk4/4/ However, when you click the button to add a series, the existing series' scale is recalculated (not what I want). The code I use to add the axis/series/data: chart.addSeries({ type: 'line', yAxis: 1, data: [1016, 1016, 1015.9, 1015.5, 1012.3, 1009.5, 1009.6, 1010.2, 1013.1, 1016.9, 1018.2, 1016.7], }) How can the

Drilldown to multiple series from different groups - Highcharter (in R)

心不动则不痛 提交于 2019-12-11 12:45:35
问题 I'm looking for a way to drill down from different groups into multiple series using Highcharter for R. Essentially, I'd like to reproduce this example some in High Charts (from jsfiddle) - http://jsfiddle.net/wchmiel/v1o8dga9/3/ Here's some code that gets me close to this - library(highcharter) library(dplyr) library(purrr) df <- tibble(x = c(1, 2, 3, 2, 3, 4, 3, 5, 4), y = c(1, 2, 1, 3, 3, 2, 4, 6, 5), key = c(rep("A", 3), rep("B", 3), rep("C", 3)), drilldown = c(rep("a", 3), rep("b", 3),

Best Way to Visualize Large Number of Categories

对着背影说爱祢 提交于 2019-12-11 12:45:30
问题 I have a large number of categories with a quantitative value that I have to compare visually in a web app. There's no way to group these categories together, they are independent of one another completely and have rather large value differences... Some counting in the hundreds others in the millions. Visually, is there any good way to show this off? I'm working in Highcharts and looking at D3 as well to render this data, however the big issue is coming from trying to fit all this data into