TCharts | Fast Charts | Chart library
kandi X-RAY | TCharts Summary
kandi X-RAY | TCharts Summary
Fast Charts
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize the layer type
- Set placeholder values
- Sets the data for this chart
- Calculate the maximum size of the time label
- Region Override
- Helper method to draw the infoWindow
- Prepare data for printing
- Draw the divider
- Handle the touch event
- Handle a touch event
- Action button down
- Action call
- Shows a specific line
- Show a line
- Calculates the size and positions of info window
- Called when the time line has changed
- Helper method to start an animator for the list of labels
- Create the background paint methods
- Creates a Paint with the specified color and style
- RenameView
- Calculate the height of the dialog s title
- Creates and initializes the animators
- Override to change the size of the view
- Restore the navigation view
- Creates the animators
- Saves the current state to a Bundle
TCharts Key Features
TCharts Examples and Code Snippets
ArrayList keys = new ArrayList(); //keys for each chart
ArrayList names = new ArrayList(); //names for chart
ArrayList colors = new ArrayList(); //colors for lines
ArrayList items = new ArrayList(); //charts value for some time
//ChartItem
// time -
allprojects {
repositories {
....
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.makstron:TCharts:0.9'
}
jitpack.io
https://jitpack.io
com.github.makstron
TCharts
0.9.1
Community Discussions
Trending Discussions on TCharts
QUESTION
I am using TChart
with a set of TFastLineSeries
, created at run time.
Is it possible to use for a half of series the left axis as Y-axis, for another half - the right one, with individual min/max for each axis?
I don't see properties that can assign axes to series or vice versa.
...ANSWER
Answered 2019-Jul-29 at 18:10On a per series basis you can set which Vertical Axis to use.
QUESTION
I know - Delphi 7 is prehistoric and tChart is not the best. But I must use them, so...
I can change the type of the series at run-time with
...ANSWER
Answered 2018-Dec-24 at 18:03In Delphi 10.3 setting up a pyramid styled bar chart manually in the IDE and viewing the DFM as text gets a section like:
QUESTION
I have implemented a Scroll box that dynamically adds TCharts dependent on the number of channels available on an input device. The charts repaint on a loop to show the value of the voltage through the channel, so that the display outputs effectively a "real-time" view of the voltages being applied to each channel.
Currently I have an Application.ProcessMessages
function to prevent the application becoming unresponsive during a run, but I would like to be able to scroll through the box whilst the channels are being displayed, without disturbing the display, which currently pauses whilst the scroll bar is clicked.
Is this possible?
...ANSWER
Answered 2017-Sep-20 at 18:45Yes, this is possible.
The charts repaint on a loop ...
Repaints driven by an own loop indeed ensures respiratory distres on the system, which exactly is the reason for the need of Application.ProcessMessages
. Try not to use it. Instead, you should just ask the charts to repaint themselves with Invalidate
when new data comes in, and let the system decide when it is convenient to do so.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install TCharts
You can use TCharts like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the TCharts component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page