`

amcharts

 
阅读更多
1、AmLegend

2、当宽度不够时出现,解决方案设置CategoryAxis的wrapLabels属性( Only works if parseDates is false)

    Also make sure that maxLabelLength is not set which is truncating the labels.

3、默认的categoryAxies之间的间隔很宽,导致一个图表上显示的点很有限,如下图:
    
        如何显示更多的点呢?
  实质gridCount属性即可

4、CategoryAxies的时间轴问题

5、
amcharts曲线图中,数据不存在的点,曲线是连续的,没有断开。
    ——We consider to use the Flex components of amCharts in our comercial product. Before we buy an OEM-License it is important to know, if we can satisfy the following requirement: is it possible to have a gap in a AMSerialChart. We tried to use a value of NaN, but in this case the AMSerialChart ignores the value and connects the previous with the following data point. A value of null is treated as 0. So is there any possibility to interrupt the line of an AMSerialChart in case of there is no data value for as certain measuring point? Thank you for answers.

——Yes, it is possible to have gaps. Use NaN and set set connect="false" on your graph.
        Fixed since v 1.6.1.0  http://www.amcharts.com/forum/viewtopic.php?id=6309
   
6、I just want to take an arraycollection of arraycollections and for each add a lineseries. How do you do that?
     ——Well, you can't use separate dataProvider for each line. There's a single dataProvider for the whole chart. Separate graphs just use different column/property of the same ArrayCollection.

You would need to to reformat your data to accommodate for that. http://www.amcharts.com/forum/viewtopic.php?id=8579

7、 Show balloon for zero values
       The only solution would be to use ChartCursor. In that case the balloon would show up even on 0-value columns. http://www.amcharts.com/forum/viewtopic.php?id=8403

8、 How to use the descriptionField property of a amGraph?
      
I have set the dataprovider for a AmSerialChart and there was a field named "description" in the dataprovider. I have also set the descriptionField for a AmGraph,but the description did not dispear on the chart. How to use the descriptionField property ?

——You need to use [[description]] metacode in either your balloonText, labelText or legendValueText properties.

9、amcharts目前不支持XMLListCollections in AMCharts

10、使用AmSeriealChart的属性:prefixesOfSmallNumbers 和 prefixesOfBigNumbers

        

11、使用smoothLine出现的问题: issue with line charts

      

——The only solution is to disable line smoothing I'm afraid. The line smoothing algorithm is not very reliable when it comes there are very few datapoints.



12、 When I use AmSerialChart, Can I set the position of ChartScrollbar?

            ——目前不能。http://www.amcharts.com/forum/viewtopic.php?id=7812



13、 有关时间轴的一个问题:后台返回的数据为0.25,0.5,0.75,1,2。单位为天,我现在想在图表上面显示1/4天、1/2天、3/4天之类的。该如何实现呢?

            ——在客户端针对返回的数据进行格式化,调用AmChart的numberFormatter属性



14、Whether ValueAxis’title supports the Chinese font?

        ——You have to embed fonts in order valueAxis title to be visible.

        Add <mx:NumberFormatter precision="2" id="nf"/> to your application (outside the chart), and the set numberFormatter="{nf}" for the chart or for individual graph.



15、Can i graph two lines on one chart with two different datasource?

        hello,
I want to graph two lines on one chart,but the line of datasource comes from different arraycollection.
The most important is that the value of x-Axis about the two lines is different.
For example , one is Month,the other is Date.
How can i do it?
Looking forward your reply!
Thanks,
smallning

——There is no way to do this. You can set a separate data provider for a graph, but it will only show values of the dates/series which are available in main data provider.



16、How to remove "max" value on valueaxis?

        ——Hey Wolffen,I did a little searching on this site and found this idea: http://www.amcharts.com/forum/viewtopic.php?id=6055
However, that doesn't solve your problem. It just sets everything to blank. I did find a fix to this though:

What I am doing is setting a variable in the initialize function that draws out the graphs. I am setting the variable to the valueAxis.max and calling it vAxisBackup.
Then, I set a click event on the reset button after many different filters have been applied that sets the vAxis.max back to the vAxisBackup.

public function init():void {
loadGrpah();
vAxisBackup = vAxis.max;
}

private function resetAxis():void {
vAxis.max = vAxisBackup;
}

I have tested this with many different filters applied and it seems to be working great.



17、Dynamic charts based on data change

        ——You can bind your dataprovider of the chart to an arraycollection this will update the chart whenever the arraycollection changes. If you are looking to change the graphs inside the chart(change the value fields etc) then you can listen for the dataUpdated event and implement the code according to your need..



18、Multiple graphs with independent date axis points?

Hello,

All the examples in both the Flex components and Stock chart have all points for each line graph occuring at the same date (i.e. one x value and several y values). In our case, each graph may have points which occur at dates which are independent of each other.

The only way I can see to implement this is to merge the data from several graphs (omitting the values where a graph doesn't have a point at a given date), and enable the connect across missing data option. This is okay, but doesn't allow for genuine missing data (i.e. where gaps are actually wanted). To achieve that, it is necessary to split a graph into several graphs at the boundaries of the missing data.

Is this the correct way to achieve this in amCharts, or is there a more elegant solution?

/Thanks, Ross.

http://www.amcharts.com/forum/viewtopic.php?id=4098 暂时无解决方案



19、The most quick method to remove all value axes and all graphs would be setting new array for valueAxes:

chart.valueAxes = [];



20、 connect = false and ChartCursor performance?

         —— http://www.amcharts.com/forum/viewtopic.php?id=6717



21、display labelText when value is null ?

        amGraph.labelText= "Some Text: [[value == null ? '' : value]]";

Instead of {series:"a", value1:null, value2:2}

use

{series:"a", value2:2}

        http://www.amcharts.com/forum/viewtopic.php?id=7237



22、 Variable number of graphs in serialchart?

        

var newGraphs:ArrayCollection = new ArrayCollection();

// Create AmGraphs
for (i = 0; i < holdingsCount; i++) {

    var graph:AmGraph = new AmGraph();

    graph.type = "line";

    /* TODO: properties to set
    graph.bullet = "round";
    graph.hideBulletsCount = 30;
    graph.lineColor = "#396184";
    graph.fillColors = new Array(["#396184", "#002144"]);
    graph.lineThickness = 2;
    graph.fillAlphas = new Array([1]);
    graph.balloonText = Config.dds_graph_tooltip_label;
    graph.balloonColor = "#555555";
    */

    graph.valueField = "" + i;
    graph.title = model.holdings[i].title;

    newGraphs.addItem(graph);
}
           
view.chart.graphs = newGraphs.toArray();
http://www.amcharts.com/forum/viewtopic.php?id=7635



23、 如果想显示如下图所示的图表该如何做?



Or you could use guide, but label could be easier, as with guide you'll need to get max value of the axis first.

http://www.amcharts.com/forum/viewtopic.php?id=7357



24、 How do I use Date categories which includes hour and minute?

Hi, I try to create a date based serial chart using the "Date-time based category axis" in the examples, the data looks like this:

{date:new Date(2009,9,2,0),value:11,value2:2},
{date:new Date(2009,9,2,6),value:15,value2:3},
{date:new Date(2009,9,2,12),value:13,value2:2},
{date:new Date(2009,9,2,18),value:17,value2:1},
{date:new Date(2009,9,3,0),value:19,value2:2},
{date:new Date(2009,9,3,6),value:21,value2:2},
{date:new Date(2009,9,3,12),value:20,value2:2},
{date:new Date(2009,9,3,18),value:20,value2:3},
{date:new Date(2009,9,4,0),value:19,value2:4},
{date:new Date(2009,9,4,6),value:25,value2:3},
{date:new Date(2009,9,4,12),value:24,value2:2},
{date:new Date(2009,9,4,18),value:26,value2:2},

There are multiple items in one day, but in different hours. When I run the application, items in the same day overlap together. Is there a way to separate them? Thanks.

http://www.amcharts.com/forum/viewtopic.php?id=6815



25、guideLines



http://www.amcharts.com/forum/viewtopic.php?id=7468



26、以半小时或者15分钟这种间隙,如何格式化时间呢?

http://www.amcharts.com/forum/viewtopic.php?id=7937 



26、Line Chart GraphEvent Roll over graph item

        http://www.amcharts.com/forum/viewtopic.php?id=7669



27、 DataProvider/CategoryField on Chart and individual Graphs

            http://www.amcharts.com/forum/viewtopic.php?id=5744



FLex时间类与LOng类关系 http://fuyanqing03.iteye.com/blog/434347


  • src.rar (9.8 KB)
  • 下载次数: 11
分享到:
评论

相关推荐

    amcharts官方离线文档

    **AmCharts离线文档详解** AmCharts是一款强大的JavaScript图表库,它提供了丰富的图表类型和高度定制的功能,使得在Web应用中创建交互式、可视化数据变得轻而易举。这款库适用于各种项目,从简单的个人博客到复杂...

    使用amCharts制作的基于c# wpf的股票K线图源码

    在本文中,我们将深入探讨如何使用amCharts库在C# WPF环境中创建股票K线图。amCharts是一款功能强大的JavaScript图表库,同时也提供了.NET版本,方便开发者在C#项目中集成图表功能。以下是对这个主题的详细阐述: ...

    WPF中使用amCharts绘制股票K线图源码的demo

    在本文中,我们将深入探讨如何在Windows Presentation Foundation (WPF) 中使用amCharts库来创建一个股票K线图的示例。WPF是.NET Framework的一部分,用于构建具有丰富图形界面的桌面应用程序。amCharts则是一个功能...

    amcharts_3.17.3去除logo

    **标题:“amcharts_3.17.3去除logo”** **内容详解:** `amcharts` 是一个流行且功能强大的JavaScript库,主要用于创建交互式的图表和地图。这个特定的版本,`amcharts_3.17.3`,是一个更新至2019年的版本(基于...

    amcharts-3.20.20

    **amCharts 3.20.20:强大的数据可视化工具** amCharts 是一款功能丰富的JavaScript图表库,专为创建动态、交互式的柱状图、条形图、线形图、面积图、烛台图以及雷达图等基本图形而设计。在版本3.20.20中,它提供了...

    amcharts 3D柱状图解说

    **amCharts 3D柱状图详解** amCharts是一款强大的JavaScript图表库,它提供了一系列丰富的交互式图表类型,包括2D和3D效果。在本篇文章中,我们将深入探讨amCharts如何实现3D柱状图,并通过实际案例来理解其工作...

    HTML5图表amCharts教程下载

    amCharts 是一款报表图形统计插件,可以生成动态展现的图形,支持用户交互,例如,鼠标放在图的上面,可以显示详细的统计信息。amCharts 提供了多种类型的图表,包括条形图、柱状图、曲线图、饼图、步线、平滑线、K ...

    amcharts3D flex帮助文档

    "amcharts3D flex帮助文档"这一标题揭示了我们正在讨论的是一个专注于3D图表渲染的库——amCharts,其专为Adobe Flex开发者设计。Flex是一种用于构建富互联网应用程序(RIA)的开发框架,而amCharts 3D版本则提供了...

    asp.net 图表控件 amCharts

    **ASP.NET 图表控件 amCharts** 在ASP.NET开发中,数据可视化是至关重要的,它可以帮助用户更好地理解和解析复杂的数据。amCharts是一个优秀的图表库,它以Flash为技术基础,提供了一套强大且美观的图表解决方案。...

    js版本的amcharts

    AmCharts 是一个强大的数据可视化库,它提供了JavaScript版本的图表工具,可以用于创建各种互动式、高质量的图表和地图。这个库广泛应用于Web应用中,帮助开发者将复杂的数据转化为易于理解的图形展示。 1. **...

    amcharts的柱状图 asp.net版

    AmCharts 是一个强大的JavaScript图表库,它提供了丰富的可视化选项,包括柱状图。在ASP.NET环境中,AmCharts能很好地融入Web应用程序,为开发者提供交互式的图表功能。在本篇文章中,我们将深入探讨如何在ASP.NET中...

    amcharts_3.19.2.freeDEMO、源码

    AmCharts 是一个强大的JavaScript图表库,它允许开发者创建交互式且视觉吸引人的数据可视化图表。在您提供的压缩包“amcharts_3.19.2.freeDEMO、源码”中,包含了一些关键文件和目录,这些对于理解和使用AmCharts ...

    利用amCharts绘制饼图和柱状图

    amCharts是一款功能强大的JavaScript图表库,它允许开发者创建交互式且视觉吸引人的数据可视化图表,包括饼图和柱状图。在本教程中,我们将深入探讨如何利用amCharts来绘制这两种图表。 首先,我们需要了解amCharts...

    amcharts_4.5.15.zip

    AmCharts 是一款强大的数据可视化工具,它提供了丰富的图表类型,如柱状图、线图、饼图、热力图等,适用于网页开发和数据分析展示。这个压缩包 "amcharts_4.5.15.zip" 包含的是 AmCharts 的官方最新版本 4.5.15,该...

    amcharts 折线图 asp.net版

    "amcharts 折线图 asp.net版" 指的是使用AmCharts库在ASP.NET平台上创建折线图的教程或项目。AmCharts是一款强大的JavaScript图表库,提供了丰富的图表类型,包括折线图。在ASP.NET环境中,开发者可以利用AmCharts的...

    AmCharts的pie图例子,jsp实现

    AmCharts是一款强大的JavaScript图表库,它提供了丰富的图表类型,包括饼图(Pie Chart)在内,用于数据可视化。本例子将详细介绍如何在JSP(JavaServer Pages)环境中使用AmCharts来创建一个饼图。 首先,我们需要...

    amcharts-Web图形化插件(直接可用)

    **AmCharts:强大的Web可视化插件** AmCharts是一款流行的JavaScript库,专用于创建高质量的数据可视化图表。这个"amcharts-Web图形化插件(直接可用)"提供了amcharts_2.8.2和amstockchart_2.8.2两个版本,它们是...

    amcharts_flex_components_1.6.2.1.zip_am flex charts_amChartsFB3_

    标题中的"amcharts_flex_components_1.6.2.1.zip"表明这是一个关于amCharts Flex组件的软件包,版本号为1.6.2.1。amCharts是一家知名的图表库供应商,他们提供了用于Adobe Flex的图表组件。Flex是Adobe开发的一种...

    无水印amcharts 3D柱状图解说

    无水印amcharts 3D柱状图是一种高级的数据可视化工具,主要用于呈现复杂的数据集,使其以直观且吸引人的方式展示。amcharts是一款强大的JavaScript库,专为创建交互式图表而设计,支持多种图表类型,包括柱状图、...

Global site tag (gtag.js) - Google Analytics