Xchart download jar file






















With this chart customization design, all customization options can be quickly "discovered" using an IDE's built in "Content Assist". With centralized styling like this, there is no need to hunt around the entire charting API to find that one customization you're looking for - it's all right in one spot! Default axis tick placement can be altered with chart.

You can also create custom axis tick labels with a callback function. In the following example taken from DateChart09 , the X-Axis tick labels are generated via a custom lambda function which takes the numerical double tick label values and converts them to a String. In the following example taken from DateChart06 , the Y-Axis tick labels are converted to the englich word reprentation of the numbers.

XChart has multiple y axes feature. Y offset is calculated according to the Y-Axis the series configured. Max y value in this axis is calculated according to the series on this axis only.

To set the y group:. Reverting out of the zoom can be accomplished by double-clicking on the chart or by clicking on the "reset" button, which can be posotioned as desired. A working example can be found at DateChart For all chart types, one or more chart annotations can be super-imposed on top of the chart. The following types of annotatins are available:. Positioning is relative to the bottom-left corner of the chart and to the center of the AnnotationImage or AnnotationText. The following example AnnotationLine and AnnotationText styling parameters show which are available:.

A working example can be found at LineChart Positioning is relative to the bottom-left corner of the chart and to the bottom-left corner of the AnnotationTextPanel. The following example AnnotationTextPanel styling parameters show which are available:. A working example can be found at ScatterChart Using a different theme is as simple as setting the Chart's theme with the theme method of the ChartBuilder.

Now go ahead and study some more examples , download the thing and provide feedback. Formats your code using google-java-format which follows Google's code styleguide. If you want your IDE to stick to the same format, check out the available configuration plugins:.

Restart Eclipse. In the plugins section in IntelliJ search for google-java-format and install the plugin. Restart IntelliJ. Linux: execute command java -cp xchart-demo Windows: In the cmd command window, execute the command java -cp xchart-demo Please report any bugs or submit feature requests to XChart's Github issue tracker. Skip to content. Star 1. XChart is a light-weight Java library for plotting data.

Branches Tags. Could not load branches. Could not load tags. Latest commit. Git stats 1, commits. Failed to load latest commit information. Adding back Maven options for install. Nov 5, Aug 9, Jun 13, Dec 23, May 17, Apr 6, Nov 6, BarChart07 org. BarChart08 Show all. BarChart08 org. BarChart09 org. BarChart10 org. BarChart11 org. BarChart12 org. BubbleChart01 org. DateChart01 org.

DateChart02 org. DateChart03 org. DateChart04 org. DateChart05 org. DateChart06 org. DateChart07 org. DateChart08 org. LineChart01 org. LineChart02 org. LineChart03 org. LineChart04 org. LineChart05 org. LineChart06 org. LineChart07 org. PieChart01 org.

PieChart02 org. PieChart03 org. PieChart04 org. RealtimeChart01 org. RealtimeChart02 org. RealtimeChart03 org. RealtimeChart04 org. RealtimeChart05 org. ScatterChart01 org. ScatterChart02 org. ScatterChart03 org.



0コメント

  • 1000 / 1000