Search found 3 matches

by JohnGarnham
Fri Dec 16, 2016 12:11 am
Forum: Orson Charts
Topic: How to add ticks to surface plot legend
Replies: 1
Views: 25313

How to add ticks to surface plot legend

I am using the LegendBuilder to build a custom legend for the surface plot because we wanted the legend to stretch across the whole pane (which I've done) and we wanted to increase the number of ticks. The latter I am trouble finding how to do - right now it only shows two ticks on the scale, the mi...
by JohnGarnham
Wed Nov 16, 2016 7:43 pm
Forum: Orson Charts
Topic: Gradient on Chart3D surface plot not working
Replies: 2
Views: 25292

Re: Gradient on Chart3D surface plot not working

found the problem. It was due to my function only return real values on discrete x and z values, which works if the set of (x,z) matches the set in my own data hash. However, the surface renderer uses the mid-point between two "x" and "z"'s in the dataset when it plots the surface to determine the c...
by JohnGarnham
Mon Nov 14, 2016 6:28 pm
Forum: Orson Charts
Topic: Gradient on Chart3D surface plot not working
Replies: 2
Views: 25292

Gradient on Chart3D surface plot not working

I am using orson chart's Chart3D to make a surface plot, and for some reason the graph isn't properly coloring the gradient. The code is below: @SuppressWarnings("serial") Function3D function = new Function3D() { @Override public double getValue(double x, double z) { double xKey = Math.round(x * 100...