Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/86.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
android的HTML5图表?_Android_Html_Canvas_Charts - Fatal编程技术网

android的HTML5图表?

android的HTML5图表?,android,html,canvas,charts,Android,Html,Canvas,Charts,我想在我的android移动应用程序中展示一些使用不同类型图表的年度分析。谁能提供一些好的链接来帮助我实现这些东西 谢谢。试试这个。。 这是一个示例代码: GraphView graphView = new GraphView( this // context , new GraphViewData[] { new GraphViewData(1, 2.0d) , new GraphViewData(2, 1.5d) , new GraphViewData(2.5

我想在我的android移动应用程序中展示一些使用不同类型图表的年度分析。谁能提供一些好的链接来帮助我实现这些东西

谢谢。

试试这个。。 这是一个示例代码:

GraphView graphView = new GraphView(
  this // context
  , new GraphViewData[] {
    new GraphViewData(1, 2.0d)
    , new GraphViewData(2, 1.5d)
    , new GraphViewData(2.5, 3.0d) // another frequency
    , new GraphViewData(3, 2.5d)
    , new GraphViewData(4, 1.0d)
    , new GraphViewData(5, 3.0d)
  } // data
  , "GraphViewDemo" // heading
  , null // dynamic labels
  , null // dynamic labels
);
LinearLayout layout = (LinearLayout) findViewById(R.id.graph1);
layout.addView(graphView);

要使用JScript和HTML创建图表,请参见此。

Android的图表解决方案之一是AChartEngine。你可以找到关于他们和他们发展的信息


但是,请注意,您甚至可以制作脱机图表,还请注意,这不是使用HTML5完成的。

请查看下面的链接。它确实有一些很好的示例

希望它能帮助你达到你想要的状态


如果您还有任何问题,请告诉我。

谢谢您的回复,但我没有使用android本机代码,我希望它使用html。请参阅html和js教程。谢谢您的回复。这真的是一个很好的链接,似乎对我很有帮助。这个链接真的很好,几乎有我想要的所有类型的图表。几乎解决了thnaks@android Phonegap