Giter Site home page Giter Site logo

aachartmodel / aachartcore-kotlin Goto Github PK

View Code? Open in Web Editor NEW
931.0 13.0 108.0 1.53 MB

📈📊⛰⛰⛰An elegant modern declarative data visualization chart framework for Android . Extremely powerful, supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types.极其精美而又强大的 Android 数据可视化图表框架,支持柱状图、条形图、折线图、曲线图、折线填充图、曲线填充图、气泡图、扇形图、环形图、散点图、雷达图、混合图等各种类型的多达几十种的信息图图表,完全满足工作所需.

License: Apache License 2.0

Kotlin 96.52% HTML 0.66% JavaScript 2.82%
chart column-chart bubble-chart pie-chart chart-library kotlin graphics radar-chart bar-chart area-chart

aachartcore-kotlin's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aachartcore-kotlin's Issues

大神图表的点击事件回调不出来哦,是怎么回事

我让我的Fragment实现了 AAChartView.AAChartViewCallBack这个接口
image
并设置callback,是可以检测到加载完成的回调,但是点击事件没有反应
image
点进源码发现chartViewMoveOverEventMessage这个接口应该没有被回调过
image
不知道是不是我理解的这样,您看一下

安装后无法运行

Cannot access class 'AAInfographicsLib.AAChartCreator.AAChartView'. Check your module classpath for missing or conflicting dependencies

Inflating strings from resources

I want to inflate string from resources, just to support multiple languages, but, when I try it, the charts doesnt load. How can I fix it?
Thanks a lot

.margin() works unstable

I get different results from this function when I change the number of points in the graph. This is wrong behavior. The indents should always remain the same.

Inflating data from network array error

Hi! Such the best charts library! But I´ve a problem when inflating data in AASeriesElement(). I want to inflate an array from firebase but it throws me an error:
Type mismatch: inferred type is array but array was expected

Thanks a lot! Im a bit noob

Library not found error

including the following statement in my build-gradle script gives a 'Could not find com.github.AAChartModel:AAChartCore-Kotlin:-SNAPSHOT.
Required by:
project :app' error. Any idea how to fix this error ?

dependencies {
implementation 'com.github.AAChartModel:AAChartCore-Kotlin:-SNAPSHOT'
}

Licence Issue?

Can you explain why you can offer this software with the Apache License, while integrating Highcharts, which forbids commercial use?

Flowcharts

Is there any plan to include Flowcharts in further releases?

AAChartView轴标签高度问题

作者您好!首先非常感谢你创作的这个插件解了我的燃眉之急。我现在有两个问题希望能得到你的帮助,十分感谢。
1、AAChartView是否有内边距?有没有属性可以动态控制?
2、X轴标签的高度如何控制?

Not sure how to label the x-axis items

Creating a graph of type Column, and the Y axis values are labeled, and the X axis values show properly (the correct number of items and the correct values associated with each item), but I cannot figure out how to label them as the Y axis values are labeled.

Chart doesn't render in buildtype release

buildtype debug it's ok, but when I generated a signed release .apk the chart doesn't get rendered, instead, it stays plain white showing only "Chart title" string.

I'm adding AAChartCore-Kotlin as a android.library module imported by the app's module:

dependencies {
    implementation(project(":lib-charts"))
}

lib-charts:

plugins {
    id("com.android.library")
    kotlin("android")
    kotlin("android.extensions")
}

android {
    compileSdkVersion(AndroidConstants.compileSdkVersion)

    defaultConfig {
        minSdkVersion(AndroidConstants.minSdkVersion)
    }

    kotlinOptions {
        jvmTarget = "1.8"
    }

    compileOptions {
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8
    }

    buildTypes {
        getByName("release") {
            isShrinkResources = false
            isMinifyEnabled = false
        }
    }
}

dependencies {
    implementation("com.google.code.gson:gson:2.8.6")
}

How do you install?

The install guide is rather vague, i did what it said i dragged the AAInfographicsLib into my libs folder in app folder and all the assets into the assets folder i created in app/src/main.

But how do i call that library? I cant seem to import it with import com.aaChart etc etc.

Could you eloborate on how to install?
Im a noob with manually installing, because im used to using compile in graddle.

Regards
Kenni

Bintray or Jitpack

Hello,
What's the reason behind "manually import", why not Bintray ou Jitpack support?

Thanks.

请问如何设置Y轴名字在Y轴上方,而不是Y轴左右两边

我用的demo是这个configureTripleYAxesMixedChart,

val yAxis2 = AAYAxis()
                .visible(true)
                .gridLineWidth(0f)
                .labels(AALabels()
                        .enabled(true)//设置 y 轴是否显示数字
                        .format("{value}°mm")
                        .style(AAStyle()
                                .color(colorsThemeArr[0])))//yAxis Label font color
                .title(AATitle()
                    .align(AAChartAlignType.Center)
                        .text("降雨量")
                        .style(AAStyle()
                                .color(colorsThemeArr[0])))

1578041777541

我加了.align(AAChartAlignType.Center)这行代码,但是标题貌似跑到屏幕外了,就显示了一点点,不知道我这样设置对不对

Halfpiecharts

Is there a way to use halfpie (or semi circle) charts?

Android webview 有问题

1 android.view.InflateException:Binary XML file line #300: Binary XML file line #300: Error inflating class com.aachartmodel.aainfographics.AAInfographicsLib.AAChartCreator.AAChartView
2 ......
3 Caused by:
4 java.lang.RuntimeException:Using WebView from more than one process at once with the same data directory is not supported. https://crbug.com/558377
5 org.chromium.android_webview.AwBrowserProcess.b(PG:3183)
6 my.b(PG:147)
7 my.b(PG:260)
8 my.a(PG:240)
9 com.android.webview.chromium.WebViewChromiumFactoryProvider.a(PG:539)
10 com.android.webview.chromium.WebViewChromium.init(PG:180)
11 android.webkit.WebView.(WebView.java:679)
12 android.webkit.WebView.(WebView.java:605)
13 android.webkit.WebView.(WebView.java:588)
14 android.webkit.WebView.(WebView.java:575)
15 com.aachartmodel.aainfographics.AAInfographicsLib.AAChartCreator.AAChartView.(AAChartView.kt:112)
16 java.lang.reflect.Constructor.newInstance0(Native Method)
17 java.lang.reflect.Constructor.newInstance(Constructor.java:343)
18 android.view.LayoutInflater.createView(LayoutInflater.java:658)
19 android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:801)
20 android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:741)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.