首页 \ 问答 \ 如何在ios中绘制折线图?(how to draw a line graph in ios? Any control which will help me show graph data in ios)

如何在ios中绘制折线图?(how to draw a line graph in ios? Any control which will help me show graph data in ios)

我想创建一个自定义图表。

这将在Y轴上显示数学数量,例如4

Y轴图例将是开始日期和结束日期。

在X轴上,折线图将绘制每个匹配Eg的状态点

胜利,平局,失败。

如何在Objective C中做到这一点!


I want to create a customized graph.

Which will show on Y axis number of mathces e.g. 4

Y axis legends will be the starting date and ending date.

And on X axis a line graph will plot the points on the status of the each match E.g.

Win, Draw, Loss.

How to do this in Objective C!??


原文:https://stackoverflow.com/questions/31963336
更新时间:2022-02-26 06:02

最满意答案

我没有测试,但显然你可以添加quicktime动画到pdf(不知道为什么)。 所以解决方案是将动画gif导出到quicktime并将其添加到pdf中。

这里的解决方案显然有效:

  1. 在Quicktime中打开GIF并保存为MOV(显然它与其他格式一起工作,你必须尝试一下)。
  2. 将MOV插入PDF(使用Adobe InDesign(确保设置对象>交互>电影选项>嵌入PDF) - 它也可以与Adobe Acrobat Pro DC配合使用: 请参阅链接
  3. 保存PDF。

看到这个链接 (德文)


I haven't tested it but apparently you can add quicktime animations to a pdf (no idea why). So the solution would be to export the animated gif to quicktime and add it to the pdf.

Here the solution that apparently works:

  1. Open the GIF in Quicktime and save as MOV (Apparently it works with other formats too, you'll have to try it out).
  2. Insert the MOV into the PDF (with Adobe InDesign (make sure to set Object> Interactive> film options > Embed in PDF) - It should work with Adobe Acrobat Pro DC too: see link
  3. Save the PDF.

See this link (German)

相关问答

更多
  • 我没有测试,但显然你可以添加quicktime动画到pdf(不知道为什么)。 所以解决方案是将动画gif导出到quicktime并将其添加到pdf中。 这里的解决方案显然有效: 在Quicktime中打开GIF并保存为MOV(显然它与其他格式一起工作,你必须尝试一下)。 将MOV插入PDF(使用Adobe InDesign(确保设置对象>交互>电影选项>嵌入PDF) - 它也可以与Adobe Acrobat Pro DC配合使用: 请参阅链接 保存PDF。 看到这个链接 (德文) I haven't tes ...
  • 动画png或APNG( http://en.wikipedia.org/wiki/APNG )。 他们可以使用APNG插件在GIMP 中制作但是动画GIF真的是主要的 - 闪存有点接管,但这不是一个真正的图像本身。 另外,来自同一维基百科页面的其他替代方案:MNG文件格式是APNG更强大的替代方案,尽管它是一种更为复杂的格式,并且具有较少的Web浏览器支持。 GIF文件格式比APNG具有更好的应用程序和浏览器支持,但每帧限制为256种颜色,并且通过将其中一种调色板映射到透明度,仅支持1位Alpha透明度。 ...
  • 我想它可能对你有帮助..这是一个GifWebView演示..请检查一下...... mylayout.xml
    我最终通过Cocoa-dev邮件列表得到了回复。 基本上,您需要附加直接链接到文件的NSURL 。 它不适用于外部图像,从不使用NSImage : NSString *fileUrl = @"http://i.imgur.com/V8w9fKt.gif"; NSString *fileName = [fileUrl lastPathComponent]; NSURL *saveUrl = [NSURL URLWithString:[NSString stringWithFormat:@"file://%@" ...
  • 到目前为止,无法在ActiveReports中显示动画gif图像。 GIF可以作为简单图像加载到报表中的Picture控件内,但目前不支持它们的动画部分。 Displaying animated gif images in ActiveReports is not possible as of now. Gifs could be loaded inside the Picture control in reports as simple images but the animation part for ...
  • VideoProvider可以做到。 VideoProvider can make it.
  • 我在scalr中找到了一个解决方案,我没有用scalr结束,而是在一个scalr线程上发现了一个注释,它使用.getscaledinstance改变大小然后用paintIcon打印而不是像这样打印drawImage: 尺寸变化: ImageIcon a_1 = new ImageIcon(FrontHand.class.getResource("/Sprites/character_move_down.gif")); a_1.setImage(a_1.getImage().getScaledInstance ...
  • 这真的有必要吗? 是的:默认情况下JLabel不是不透明的,这就是为什么它的父母必须在标签的更改后重绘自己的原因。如果你已经深入探索了:父母只重新绘制标签后面的区域(参见剪辑) Is that really necessary? Yes: the JLabel is not-opaque by default, that's why its parent must repaint itself behind on changes of the label .. And if you had explored ...
  • 不需要。启动图像必须是PNG图像,最好是非隔行扫描。 来源: iOS应用程序编程指南 No. Launch images are required to be PNG images, preferably non-interlaced. Source: iOS App Programming Guide
  • “如何将动画gif定位为与滑块左对齐?”
    然后在你的CSS .left{ position: relative; display:inline-block; } .right{ position: relative; display: inline-block; } 将显示设置为内联块将使两个元素并排 " ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)