English 中文(简体)
图四 土地覆盖面积高
原标题:Highcharts Column Chart overflowing the plot area

问题如下:

如果我有很稀少的居住日期x轴心,有一栏图表,那么一些栏目正在缩小。

http://jsfiddle.net/qzqnX/“rel=“nofollow” http://jsfiddle.net/qzqnX/。

例如,我有两栏,关于极端目的的一栏正在缩小。

如果我增加数据以备有3栏,则其中1栏完全隐藏。

http://jsfiddle.net/GrKKt/“rel=“nofollow” http://jsfiddle.net/GrKKt/。

我想有在地块内显示的栏目,不会部分被切割或藏匿。 如果它们从地块区域延伸部分提取一定差额,那也会是 n。 感谢。

最佳回答
问题回答

当使用日轴时,各栏的宽度没有得到很好的处理,因此,围绕该轴线开展工作的最佳方式是输入国与国之间的无效值。 与此类似:

chart: {
    renderTo:  container ,
    type:  column 
},

xAxis: {
    type:  datetime 
},

series: [{
    data: [29.9, null, null, null, null, null, 71.5],
    pointStart: Date.UTC(2010, 0, 1),
    pointInterval: 1 * 24 * 3600 * 1000 // one day
    },
{
    data: [29.9, null, null, null, null, null, 71.5],
    pointStart: Date.UTC(2010, 0, 1),
    pointInterval: 1 * 24 * 3600 * 1000 // one day
    }]

这将使计算出的宽度在该案件中平均在7天之内。 参看jsfiddle

enter image description here





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签