Code Monkey home page Code Monkey logo

orson-charts's People

Contributors

jfree avatar

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

orson-charts's Issues

Option to hide x-z lines in SurfaceChart

Hi,

first of all thanks for the great library!

I'm currently trying to switch from jzy3d because of better support for zoom & export in orson-charts. While converting my code I have run into something I wasn't able to achieve: I would want to hide the x-y grid lines that are drawn on the surface chart. (Probably something simple to fix but I can't seem to find the option...).

Will attach an image to cleare show what I mean - once I don't get any error when trying to add an attachment.

Thanks for any hints,
Thomas

3D Line chart selected plot dataset

II drew a 3D line chart using jfree.chart3d in the Orson Charts library using java. How can I get the data between two points selected with the mouse on the line chart I drew?

I searched deeply but get no getDataset() or similar methods in the library. I try to get the line plot at the clicked point with the mouse but found no such method. Any help would be appreciated. There are solutions on 2D charts but I have not come across such a solution for jfree.chart3d library

I try to read the dataSet among the line charts selected by mouse. First mouse click defines the start point of the sub-line, and second mouse click defines the end point of the sub-line of the line selected by mouse. I tried to read the dataSet as follows. But I get "getRenderer() is undefined for type Plot3D" error. Here are my questions:

1.How can I highlight the selected line plot, so that to create awareness to the user that he/she has chosen the right plot among other plots?

2.How can I get the selected line plot's dataSet?

3.How Can I obtain the sub-dataSet between two mouse clicks on the selected line plot?

There is a stackoverflow issue about that. Here is the link:

Chart3d question

Regards.

XYZPlot.axisChanged() method error ?

Hello and thanks for sharing this 3d Chart library :-)

In method axisChanged() of xyzPlot (line 682) we have :

public void axisChanged(Axis3DChangeEvent event) {
        this.yAxis.configureAsYAxis(this);
        fireChangeEvent(event.requiresWorldUpdate());
}

Shouldn't it be :

public void axisChanged(Axis3DChangeEvent event) {
    	if(xAxis == event.getAxis()) 
    		xAxis.configureAsXAxis(this);
    	if(yAxis == event.getAxis()) 
    		yAxis.configureAsYAxis(this);
    	if(zAxis == event.getAxis()) 
    		zAxis.configureAsZAxis(this);
        fireChangeEvent(event.requiresWorldUpdate());
}

This is actually what I've done and it solved bad axis range.

https://github.com/jfree/orson-charts/blob/master/src/main/java/org/jfree/chart3d/plot/XYZPlot.java

NumberAxis3D.getTickLabelFormatter() never used?

Hi,

I was trying to change to format of the tick label using NumberAxis3D.setTickLabelFormatter - with no results. No matter what I set here the format is always the same.

When checking, how the formatter is used in the library I get

Usages of NumberAxis3D.getTickLabelFormatter [no occurrences]                

so it seems that this feature isn't used at all?

Show chart with SurfaceChart and XYZLineChart combined

Hi,

and here is another thing I wasn't able to achieve so far: Combine a SurfaceChart with a XYZLineChart in one chart.

Usage: My GPXEditor should show a gpx track (XYZLineChart) on top of the SRTM height data (SurfaceChart).

Again I'm failing to add a screenshot of how things should look like here :-( But hopefully, the idea is clear.

Any hints are appreciated!
Thomas

Attempting to run demo: SurfaceRendererDemo1 - Fails

There are unresolved compilation problems in the download (java 1.8 compatability)
Here are the errors:

Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
	The return types are incompatible for the inherited methods ColorScale.getRange(), AbstractColorScale.getRange()
	Type mismatch: cannot convert from org.jfree.data.Range to com.orsoncharts.Range
	The method percent(double) is undefined for the type Range

I think this is also causing the constructor to choke in the demo:
The constructor GradientColorScale(Range, Color, Color) is undefined

I use JFreeChart quite a bit and would like to now add 3d charts... thus hoping this project is active and well maintained :-) Cheers!

SurfaceChart with static data series

I am trying to figure out how to setup the following surface chart. Data is fft data
VectorvFrequencies; // y axis lables (frequency)
double[] dSingleRow; // each value is a frequency level
Vector<double[]> vAllRows; // each row is another time sample
Date is read in from a stream that is fft'ing a file, in csv it might look like:
Time, 100Hz, 200Hz, 300Hz....
1, -90, -89.4, -89...
2, -89.9, -88, -89.1...
...

I have attached a sample plot produced by gnuplot
Screenshot from 2021-08-30 12-11-19

memory released

Repeated creation and closed of Chart3DFactory.createXYZLineChart in Javafx, memory cannot be fully released.

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.