All Projects → linheimx → Lchart

linheimx / Lchart

Licence: apache-2.0
Simple & useful chart for Android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Lchart

Aachartkit Swift
📈📊📱💻🖥️An elegant modern declarative data visualization chart framework for iOS, iPadOS and macOS. 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. 极其精美而又强大的跨平台数据可视化图表框架,支持柱状图、条形图、…
Stars: ✭ 1,962 (+1008.47%)
Mutual labels:  chart
D3 Layout Narrative
A d3 layout for creating XKCD style narrative charts
Stars: ✭ 168 (-5.08%)
Mutual labels:  chart
Graphic
A Flutter data visualization library based on Grammar of Graphics.
Stars: ✭ 173 (-2.26%)
Mutual labels:  chart
Wechart
Create all the [ch]arts by cax or three.js - Cax 和 three.js 创造一切图[表]
Stars: ✭ 152 (-14.12%)
Mutual labels:  chart
Vue Orgchart
🌿 Vue.js wrapper for OrgChart.js
Stars: ✭ 167 (-5.65%)
Mutual labels:  chart
React Native Charts Wrapper
a react native charts wrapper (support android & iOS)
Stars: ✭ 2,111 (+1092.66%)
Mutual labels:  chart
Pyecharts Snapshot
renders the output of pyecharts as png, jpeg, gif, svg, eps, pdf and raw base64
Stars: ✭ 142 (-19.77%)
Mutual labels:  chart
Ilgizar Candlestick Panel
Grafana candlestick panel plugin
Stars: ✭ 175 (-1.13%)
Mutual labels:  chart
Sensor Data Logger
Android Wear sensor data plotter
Stars: ✭ 166 (-6.21%)
Mutual labels:  chart
K8s Wait For
A simple script that allows to wait for a k8s service, job or pods to enter a desired state
Stars: ✭ 172 (-2.82%)
Mutual labels:  chart
Unity Ui Examples
📚 A collection of UI examples for Unity.
Stars: ✭ 152 (-14.12%)
Mutual labels:  chart
Rings
A simple chart for Android with three indicators and one more to indicate overall summary. They get highlighted if you click on the ring or text.
Stars: ✭ 160 (-9.6%)
Mutual labels:  chart
Stock Chart
基于 canvas 的沪深两市股票分时 K 线图
Stars: ✭ 170 (-3.95%)
Mutual labels:  chart
Timechart
An chart library specialized for large-scale time-series data, built on WebGL.
Stars: ✭ 149 (-15.82%)
Mutual labels:  chart
Picasso.js
A charting library streamlined for building interactive visualizations for the Qlik product suites.
Stars: ✭ 175 (-1.13%)
Mutual labels:  chart
Zeu
A JavaScript library for real-time visualization
Stars: ✭ 1,777 (+903.95%)
Mutual labels:  chart
Fancygrid
FancyGrid - JavaScript grid library with charts integration and server communication.
Stars: ✭ 169 (-4.52%)
Mutual labels:  chart
Computator.net
Computator.NET is a special kind of numerical software that is fast and easy to use but not worse than others feature-wise. It's features include: - Real and complex functions charts - Real and complex calculator - Real functions numerical calculations including different methods - Over 107 Elementary functions - Over 141 Special functions - Over 21 Matrix functions and operations - Scripting language with power to easy computations including matrices - You can declare your own custom functions with scripting language
Stars: ✭ 174 (-1.69%)
Mutual labels:  chart
React Component Echarts
React component echarts. 组件式百度图表。
Stars: ✭ 175 (-1.13%)
Mutual labels:  chart
Tcharts.js
📉 Lightweight and fast terminal ASCII charts for nodejs and browser.
Stars: ✭ 172 (-2.82%)
Mutual labels:  chart

LChart

这是一个折线图框架,它提供了几个非常实用的功能,简单易用。

功能特色

  1. 支持缩放,拖拽
  2. 支持多条数据线
  3. 支持预览模式:预览图谱
  4. 支持点击数据点时的十字高亮与数值提示
  5. 支持高亮点的左右移动
  6. 支持添加预警线
  7. 支持实时数据的添加
  8. 有效的处理滑动冲突
  9. 折线展现上的动画效果

效果展示

基本使用

添加依赖

compile 'com.linheimx.library:lchart:1.2.6'

给LineChart添加数据

// step1: 设置x,y轴
XAxis xAxis = lineChart.get_XAxis();
xAxis.set_unit("单位:s");
xAxis.set_ValueAdapter(new DefaultValueAdapter(1));

YAxis yAxis = lineChart.get_YAxis();
yAxis.set_unit("单位:m");
yAxis.set_ValueAdapter(new DefaultValueAdapter(3));// 默认精度到小数点后2位,现在修改为3位精度

// step2: 为一条数据线添加数据
Line line = new Line();
List<Entry> list = new ArrayList<>();
list.add(new Entry(1, 5));
list.add(new Entry(2, 4));
list.add(new Entry(3, 2));
list.add(new Entry(4, 3));
list.add(new Entry(10, 8));
line.setEntries(list);

// step3: 将数据放到 lineChart上
Lines lines = new Lines();
lines.addLine(line);

lineChart.setLines(lines);

项目分析

博客地址:http://www.jianshu.com/p/d03ff80ad508

欢迎反馈问题,我会尽力来解决的,希望我们会做的更好 : )

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].