nm1291 / charts4j Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/charts4j
License: Other
Automatically exported from code.google.com/p/charts4j
License: Other
What steps will reproduce the problem?
1. Just use this line of code, and look at the result.
DataUtil.scaleWithinRange(10, 99, new double[] {3, 6, 1, 6, 6})
What is the expected output? What do you see instead?
I expect a list of values between 10 and 99. I see instead a list of
negative values.
What version of the product are you using? On what operating system?
I'm using charts4j v1.2, on a windows XP system. Java version is 1.6
Additional details : please see attached screenshot
Original issue reported on code.google.com by [email protected]
on 14 Apr 2010 at 7:33
Attachments:
What steps will reproduce the problem?
1. Instantiate a Venn diagram according to the documentation
2.
3.
the constructor reads:
GCharts.newVennDiagrams():
public static VennDiagram newVennDiagram(double circle1Size,
double circle2Size,
double circle3Size,
double abIntersect,
double bcIntersect,
double caIntersect,
double abcIntersect)
I am not getting the expected behavior when I use the function as
documented above (from javadoc). Instead, I notice that calling the
function with the parameters slightly reordered, as follows, shows me the
venn diagrams I want and expect:
public static VennDiagram newVennDiagram(double circle1Size,
double circle2Size,
double circle3Size,
double abIntersect,
double caIntersect,
double bcIntersect,
double abcIntersect)
Original issue reported on code.google.com by [email protected]
on 4 Mar 2010 at 8:02
No Enum RangeRadialType but RangeType.
Original issue reported on code.google.com by [email protected]
on 16 Mar 2009 at 4:51
Are you looking forward to provide Maven 2 support. You may publish your
librarie under public maven 2 repo, woul'd be very helpfull.
tx,
Marcos Maia.
Original issue reported on code.google.com by [email protected]
on 17 Nov 2008 at 1:42
I have classes that generate charts, and I'd love to be able to test them by
querying the generated BarChart classes, etc. Testing by the generated URL is
possible, but confusing because the URL's are so complex.
Anyway, simply methods to get the chart data and axis labels would be a great
start.
Original issue reported on code.google.com by keithl
on 11 Jun 2010 at 12:13
http://code.google.com/apis/chart/labels.html#axis_range
Original issue reported on code.google.com by [email protected]
on 27 Apr 2009 at 3:44
Add a method(s) in the DataUtil class to scale a collection of dataseries.
Original issue reported on code.google.com by [email protected]
on 27 Dec 2008 at 10:39
Add a Boolean method to the top level class in the GChart hierarchy which
if passed true and extended encoding is chosen, will result in regenerating
the URL string with a simple encoding, if the URL is too long when calling
the toURLString method.
Original issue reported on code.google.com by [email protected]
on 12 Dec 2008 at 11:58
Fill type javadoc should reference Fills static factory class.
Original issue reported on code.google.com by [email protected]
on 2 Dec 2008 at 11:23
Use Double instead.
Original issue reported on code.google.com by [email protected]
on 30 Jan 2009 at 6:54
Add ability to specify a chart margin.
See here for more details:
http://code.google.com/apis/chart/styles.html#chart_margins
Original issue reported on code.google.com by [email protected]
on 16 Dec 2008 at 12:13
What steps will reproduce the problem?
1. Data values between 0 and 1 cannot be rendered in a proper way.
Resolution is lost when serializing the data in the URL. Should be a way
to fix this.
What is the expected output? What do you see instead?
If I have a data range of 0.001 to 0.1, it just looks like a flat line, as
all data points are basically serialized as 0.1.
What version of the product are you using? On what operating system?
Latest version, any OS.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 18 Sep 2009 at 8:18
If the data input array has the same value at all its indexes it results in
min == max for a Preconditions check and an Exception is raised.
java.lang.IllegalArgumentException: min >= max!
at com.googlecode.charts4j.collect.Preconditions.checkArgument(Unknown Source)
at com.googlecode.charts4j.DataUtil.scaleWithinRange(Unknown Source)
at com.googlecode.charts4j.DataUtil.scale(Unknown Source)
at com.googlecode.charts4j.DataUtil.scale(Unknown Source)
Original issue reported on code.google.com by [email protected]
on 13 Aug 2009 at 8:01
The google chart cannot support Chinese , i wanna know chart4j supports ?
Thx.
Original issue reported on code.google.com by [email protected]
on 20 Jul 2009 at 5:03
http://code.google.com/apis/chart/styles.html#financial_markers
Original issue reported on code.google.com by [email protected]
on 23 Jan 2009 at 4:51
Add "drawing controls" to the AxisStyle class. Drawing controls are tick
marks and axis lines. You can apparently also specify the colors of these.
Original issue reported on code.google.com by [email protected]
on 16 Dec 2008 at 6:09
Add ability to color individual bars within a bar chart for one data series.
Original issue reported on code.google.com by [email protected]
on 23 Apr 2009 at 5:07
Add ability to specifcy pie chart legend, as opposed to label (part of Dec
8 2008 GCA release)
Original issue reported on code.google.com by [email protected]
on 16 Dec 2008 at 12:26
Consider adding autoslicing feaure to pie charts so that the % does not
have to be known a priori
Original issue reported on code.google.com by [email protected]
on 23 Apr 2009 at 5:20
LinearGradientFill seems unintuitive because you can construct it with just
one color basically yielding a solid fill. It seems like 2 colors would be
more appropriate for constructing this class.
Original issue reported on code.google.com by [email protected]
on 27 Dec 2008 at 10:51
Add ability to specify pie chart orientation.
Original issue reported on code.google.com by [email protected]
on 16 Dec 2008 at 12:44
RadarChart RADIAL RangeMarkers problem. Full circle is already drawn with
min=0 and max=75. To draw a full circle max should be 100.
Original issue reported on code.google.com by [email protected]
on 19 Aug 2009 at 9:30
The google chart api now supports post request. Provide charts4j wrapper APIs
to assist in forming a post request.
Original issue reported on code.google.com by [email protected]
on 11 Jun 2010 at 5:29
Vector<Float> dataSet = new Vector<Float>();
dataSet.add(new Float(123));
dataSet.add(new Float(456));
dataSet.add(Float.NaN);
dataSet.add(789f);
// legal
Data d1 = Data.newData(dataSet);
System.out.println(d1);
// illegal
Data d2 = DataUtil.scale(dataSet);
System.out.println(d2);
Original issue reported on code.google.com by [email protected]
on 20 May 2009 at 5:04
Make some interfaces public to better work with Java reflection. In
particular, see PlotImpl.
Original issue reported on code.google.com by [email protected]
on 2 Dec 2008 at 11:21
Add new marker series options to specify marked points. See
http://code.google.com/apis/chart/styles.html#shape_markers
Original issue reported on code.google.com by [email protected]
on 17 Dec 2008 at 5:10
I want to use the google chart api compatible implementation from
jfreechart called eastwood. See http://www.jfree.org/eastwood/
Therefore it is needed to be able to set the url in the ParameterManager.
But the String url is final and there is no getter/setter for that nor is
the ParameterManager accessible.
I made a smallish hack to enable this but im not able to build the
charts4j-gwt.jar as your modifikations are not in trunk currently.
So please review my modifications.
Thanks for this work as it works even in a gwt project of mine perfect.
Greetings
Stefan
Original issue reported on code.google.com by [email protected]
on 14 May 2009 at 7:14
Attachments:
This method requires that the min range < max range. This assumption is a
bug. There can be numeric ranges in the negative direction.
As a temporary workaround, you can use the other AxisLabelsFactory static
factory methods to achieve similar axis label results.
Original issue reported on code.google.com by [email protected]
on 24 Nov 2008 at 8:46
The Google-o-meter now supports chart titles. Add to charts4j API.
Original issue reported on code.google.com by [email protected]
on 16 Dec 2008 at 12:39
Investigate if the axis text alignment is working properly.
Original issue reported on code.google.com by [email protected]
on 6 Dec 2008 at 12:25
When I use .addHorizontalRangeMarker or .verticalRangeMarker (in general
RangeMarkers), the url generated is wrong... in particular with the tag
"chm". Because in toString():
1. How decimalFormatter.format() use DecimalFormat, and this uses local
settings by default (for decimal separator), i think (well... it happened
to me) that is a problem. Because if your local separator is "," (like ES,
CH... ) the url it will be wrong.
2. I think for the url construction, code should us a strict symbols not
the locale. Something like this:
private static final class RangeMarker implements GoogleChartMarker {
...
DecimalFormatSymbols symbols = new DecimalFormatSymbols();
symbols.setDecimalSeparator('.');
/** The decimal formatter. */
private final DecimalFormat decimalFormatter = new DecimalFormat("0.00",
symbols);
Well, I'm not sure but en my case it run.
Original issue reported on code.google.com by [email protected]
on 9 Jan 2009 at 6:59
What steps will reproduce the problem?
Plot plot = Plots.newPlot(Data.newData(0, 66.6, 33.3, 100));
plot.addTextMarker("66,6",Color.BLACK,12,1);
LineChart chart = GCharts.newLineChart(plot);
What is the expected output? What do you see instead?
The Text Marker isn't display
What version of the product are you using? On what operating system?
Charts4j 1.2
Please provide any additional information below.
The comat value must be antislashed :
plot.addTextMarker("66\\,6",Color.BLACK,12,1);
Original issue reported on code.google.com by [email protected]
on 12 Apr 2010 at 12:21
Type: Enhancement
It would be nice if the API would provide a way to get a Set or List of the
default colors, so creating pies of variable number of slices would be easier
because one could iterate over the Set or List to get colors for the slices.
Why not using an Enum class instead of static variables for example? Enum can
be iterable through EnumSet.allOf(Class<E> elementType)
Original issue reported on code.google.com by [email protected]
on 12 Aug 2010 at 2:38
I think QR Code should be supported, too.
Original issue reported on code.google.com by [email protected]
on 29 Jul 2010 at 5:12
I was thinking a more natural way to construct a Venn diagram is using
collections or sets as inputs. I attached some rough code that should
guide addition of this feature. I can provide something more direct like a
patch file if requested.
Original issue reported on code.google.com by [email protected]
on 25 Nov 2009 at 11:13
Attachments:
Add ability to specify a legend margin.
See here for more details:
http://code.google.com/apis/chart/styles.html#chart_margins
Original issue reported on code.google.com by [email protected]
on 17 Dec 2008 at 9:02
What steps will reproduce the problem?
1. Want to add an array of integers as my dataset
2. Integers are less than 4095
3. Unable to add this kind of numbers without data scaling
I want to create a chart on a set of integers and don't want to scale them.
But my numbers are greater than 100 (but less than 4095 so extended
encoding can be used)
the library doesnt seem to support this
Original issue reported on code.google.com by [email protected]
on 26 Jun 2009 at 6:59
Add a data scaling "squeezing percentage" in case you want to scale the
data in order for the chart to be "squeezed in" by a certain amount from
the edges.
Original issue reported on code.google.com by [email protected]
on 9 Dec 2008 at 5:11
The Google Chart API now supports concentric pie charts. Need to specify
multiple datasets.
Original issue reported on code.google.com by [email protected]
on 16 Dec 2008 at 12:48
I have created a patch for the charts4j project that allows the user of the API
to be more detailed in
specifying fill areas, particularly between plots. The patch is currently
being used in one of my
projects, but needs more testing.
Changes include:
AbstractLineChart.java:
Modified the parameterManager.addFillAreaMarker(....) call to include fill type
and end line.
Curve.java
added accessor and mutator methods to this interface to support fill area type
and fill area end line.
PlotImpl.java
Added instance variables for fill area type and end line
Modified the PlotImpl(final PlotImpl) constructor to support the 2 new instance
variables
Added the 4 new accessor/mutators required by the updated Curve interface.
Original issue reported on code.google.com by [email protected]
on 18 Apr 2010 at 3:25
Attachments:
see summary
Original issue reported on code.google.com by [email protected]
on 28 Jan 2009 at 9:01
It took me a LOT of debugging to find out that charts4j doesn't allow values
over 100. This is a very odd limitation, considering that the charts API
supports a custom data range via the chds parameter. At the very least
Data.MAX_VALUE could be converted to a field instead of a constant.
Original issue reported on code.google.com by keithl
on 14 Jun 2010 at 3:55
What steps will reproduce the problem?
1. Open Javadoc for method XYLineChart.setMargins()
What is the expected output? What do you see instead?
Javadoc says that method arguments are: int leftMargin, int rightMargin, int
topMargin, int bottomMargin. But actually arguments have sequence: bottom,
left, right, top
What version of the product are you using? On what operating system?
version 1.2
Original issue reported on code.google.com by [email protected]
on 23 Jun 2010 at 8:11
Use this idiom instead:
int[] array = {1, 2, 3,4,5,6,7};
StringBuilder builder = new StringBuilder();
for (int i = 0 ; i < array.length; i++)
builder.append(i == 0 ? "" : ",").append(array[i]);
Original issue reported on code.google.com by [email protected]
on 22 Mar 2009 at 5:44
Would it make sense to add None to all legend related Enums - e.g.
LegendLocations?
None would indicate that no legend is supposed to be drawn.
Original issue reported on code.google.com by [email protected]
on 22 May 2009 at 3:55
Examine if bar charts have spacing bugs between bars and between groups of
bars.
Original issue reported on code.google.com by [email protected]
on 12 Dec 2008 at 9:47
What steps will reproduce the problem?
I have a code like this:
slices.add(Slice.newSlice(percent, Color.black, "A&B"));
PieChart chart = GCharts.newPieChart(slices);
img.setUrl(chart.toURLString());
What is the expected output? What do you see instead?
"A&B" slice
"A" slice is created instead
What version of the product are you using? On what operating system?
charts4j-gwt-1.2
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 7 Jun 2009 at 12:34
Text labels can appear as flags.
Original issue reported on code.google.com by [email protected]
on 16 Dec 2008 at 12:55
[deleted issue]
What steps will reproduce the problem?
1. Make shape markers on a large line chart using the following code:
plot.addShapeMarkers(Shape.DIAMOND, Color.BLACK, 4);
2. charts4j creates the following url:
http://chart.apis.google.com/chart?cht=lc&chs=600x200&chm=d,0000FF,0,-
1,4,0&chd=s:gXiVcdlhUagRacRTpfgueZedRZYbgYrfObMTSWfYYPTPUdceTiYpZeorgnlXTTfndecd
Vc
mcVZTXiZptVZZJcPVaQaWeeeXawhdXcbjo0sohfyndxqdgbQQedfZdTUNQNGQUUUMQJdVZfdelljxsn
voXfyroigVTfOVQUOQYRMIKOMNTOTNVKZXQhnZelsqkfnTaackPPaVUSONNOHIHDAHKEDEDACAIE
PEGCPGIDGIIGJHEBEACHCBCAABEFEFFDLLFSHFCHBGEDFHGCEEEHFJDIGNKCIQKGSKFIMJJYhhdeoml
mipnmbfYkRPXWXUieROfcTQKLKKObZcjTncmjgnXrnfXgUglroWfgbmnZbLJHSWPTWMQQVUTQRVQ
QXZYkchsoofjtn7xYSsafkjlw9ddfiaOXxdeTPTafbQaqUiYccRZpYfddir0Wcci0obcYSjhTTSWSePR
Lbnx
eogVdUcaooSbPVaTamujZSRdkhVgWOWmbidd
What is the expected output? What do you see instead?
The chart has only about half of its markers. Based on discussions on the
google charts group,
this seems like a known bug of the charts website.
What version of the product are you using? On what operating system?
charts4j-1.2 on MacOS X
Please provide any additional information below.
Thanks to a very useful poster KeithB on the Google Group, there is a known
workaround. If I
change the CHM section of the above URL , it works fine. Here is the fixed chm
section:
chm=d,0000FF,0,0:500:-1,4,0&
And the full, working URL:
http://chart.apis.google.com/chart?cht=lc&chs=600x200&chm=d,0000FF,0,0:500:-
1,4,0&chd=s:gXiVcdlhUagRacRTpfgueZedRZYbgYrfObMTSWfYYPTPUdceTiYpZeorgnlXTTfndecd
Vc
mcVZTXiZptVZZJcPVaQaWeeeXawhdXcbjo0sohfyndxqdgbQQedfZdTUNQNGQUUUMQJdVZfdelljxsn
voXfyroigVTfOVQUOQYRMIKOMNTOTNVKZXQhnZelsqkfnTaackPPaVUSONNOHIHDAHKEDEDACAIE
PEGCPGIDGIIGJHEBEACHCBCAABEFEFFDLLFSHFCHBGEDFHGCEEEHFJDIGNKCIQKGSKFIMJJYhhdeoml
mipnmbfYkRPXWXUieROfcTQKLKKObZcjTncmjgnXrnfXgUglroWfgbmnZbLJHSWPTWMQQVUTQRVQ
QXZYkchsoofjtn7xYSsafkjlw9ddfiaOXxdeTPTafbQaqUiYccRZpYfddir0Wcci0obcYSjhTTSWSePR
Lbnx
eogVdUcaooSbPVaTamujZSRdkhVgWOWmbidd
Thanks very much!
ben.
Original issue reported on code.google.com by [email protected]
on 31 Dec 2009 at 7:45
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.