首页 \ 问答 \ pieChart动画(pieChart animation)

pieChart动画(pieChart animation)

我用CorePlot绘制了一个pieChart,我想用动画填充每个pieChart。点是Core-Plot在CPTPieChart上没有动画。所以我应该如何向pieChart添加填充动画?


I have draw a pieChart with CorePlot,and I want to fill each piece of the pieChart with animation.The point is Core-Plot doesn't has a animation on CPTPieChart.So how should I add a fill animation to the pieChart?


原文:https://stackoverflow.com/questions/15740045
更新时间:2022-04-13 09:04

最满意答案

我猜你使用一些插件来构建你的jar / war / ....在maven配置文件中,你不仅可以声明依赖项,还可以声明插件配置。

它看起来像:

<profile>
  <id>whatever</id>
  <build>
    <plugins>
      <groupId/>
      <artifactId/>
      <version/>
      <configuration>
        ...
      </configuration>
    </plugins>
  </build>
</profile>

例如,如果您使用maven-jar-plugin。 您可以定义最终名称 ,以从不同的配置文件中获取唯一名称。

但是,要小心,如果你使用一个配置文件构建,那么如果你mvn -Panother clean package它将删除另一个。

另一种方法是创建具有不同依赖关系的子模块。


I guess you use some plugin to build your jar/war/.... In maven profile, you could not only declare dependencies, but also plugin configurations.

it look like:

<profile>
  <id>whatever</id>
  <build>
    <plugins>
      <groupId/>
      <artifactId/>
      <version/>
      <configuration>
        ...
      </configuration>
    </plugins>
  </build>
</profile>

For example, if you use maven-jar-plugin. you could define the finalname, to get unique name from different profiles.

however, be careful that if you build with one profile, then if you mvn -Panother clean package it will remove the other one.

Another approach is to create sub-module with different dependencies.

相关问答

更多
  • 工件是一个文件,通常是JAR,它被部署到Maven存储库。 Maven构建产生一个或多个工件,例如编译的JAR和“源”JAR。 每个工件都有一个组ID(通常为反向域名,如com.example.foo),工件ID(仅一个名称)和版本字符串。 这三个人一起唯一识别神器。 项目的依赖项被指定为工件。 An artifact is a file, usually a JAR, that gets deployed to a Maven repository. A Maven build produces one ...
  • 我猜你使用一些插件来构建你的jar / war / ....在maven配置文件中,你不仅可以声明依赖项,还可以声明插件配置。 它看起来像: whatever ...
  • 您的Maven配置是: 存储库URL - http://hlt-services4.fbk.eu:8080/artifactory/repo/eu/excitementproject group-id - eu.excitementproject artifact-id - lap artifact-version - 1.1.1 。 因此,工件的完整路径是http://hlt-services4.fbk.eu:8080/artifactory/repo/eu/excitementproject/eu.ex ...
  • 您可以通过在命令行上传递以下参数来排除模块: --projects '!module-to-exclude' 来自mvn --help : -pl,--projects Comma-delimited list of specified reactor projects to build instead of al ...
  • IDEA可以部署Artifact或Ant或任何其他工具构建的外部源 (目录或文件): 将IDEA工件与Ant构建关联起来是不可能的。 IDEA can either deploy Artifact or the External Source (directory or file) that is built by Ant or any other tool: It's not possible to associate IDEA Artifact with Ant build.
  • 那些“奇怪的索引”是小部件的字符串表示。 要使它们不显示,您需要删除尝试将窗口小部件插入列表框的代码。 列表框只能显示文本。 如果您尝试创建可滚动的框架列表,则需要将它们嵌入到画布中,或者将它们嵌入到文本窗口小部件中。 这两个小部件都支持滚动和嵌入其他小部件。 Those "weird indexes" are the string representation of widgets. To get them to not show up, you need to remove the code that ...
  • 事实证明,作为此示例的一部分,给出了指定对名称与其模块名称不同的工件的依赖关系的正确语法。 为了使上面的URL中的[artifact]替换为[module]之外的其他内容,请按如下方式声明依赖项: compile ('group-or-org-name:module-name:module-version') { artifact { name = 'artifact-name-different-from-module-name' type = 'type-must ...
  • 虽然我不建议使用此方法,但您可以使用配置文件执行此任务。 这是如何做到的: ${projectVersion} ... normal true ...
  • 我不能说这是好还是坏,但我已经使用过这段代码了,它有效: private File resolveInLocalRepo(DefaultArtifact artifact){ LOG.debug("Trying to resolve $artifact in local repository...") def localRepoManager = new SimpleLocalRepositoryManager(localRepoRoot) def pat ...
  • POM是POM。 您似乎在谈论在引用“A”的其他项目中管理传递依赖项。 你在Maven的选择相当有限: 您可以使用排除项删除不需要的传递依赖项。 您可以将“A”中的依赖项声明为“已提供”,但只有在A的目标环境中实际提供该jar时,这才真正正确。 它主要用于Java EE api依赖项,如servlet-api,它由容器提供,禁止包含在WAR文件中。 您可以将依赖关系声明为可选,这是人们在说“提供”时通常所说的,并在需要的地方手动包含这些依赖关系。 我个人选择“可选”路线,因为每个项目的工作是拉入它需要的依赖 ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。