GithubHelp home page GithubHelp logo

afreechart's People

Watchers

 avatar

afreechart's Issues

AFreeGraphics jar source code?

Hi, I am wondering if the AFreeGraphics.jar source code is available somewhere?

Not being able to provide is a major blocker for inclusion in projects with 
licenses like GPL.

It would be great if the code was accessible as the rest of the project.

Else, it would be good to cite that the project has a closed source part. But 
in that case I am not even sure if it can be hosted for free here on google 
code (I might be mistaken).

Original issue reported on code.google.com by [email protected] on 29 Dec 2012 at 2:12

2 errors in DemoView.java

What steps will reproduce the problem?
1. i downloaded the files, i did the import in eclipse of the example
2. i can't run the example because there are 2 errors in DemoView.java and i 
didn't touch the code.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
0.04

Please provide any additional information below.
The errors are:
 public double getScaleX() {
        return this.scaleX;
    }
public double getScaleY() {
        return this.scaleY;
    } 
and eclipse says:   
The return type is incompatible with View.getScaleX() (and also with 
View.getScaley...)
Please fix this problem.


Original issue reported on code.google.com by [email protected] on 9 Sep 2014 at 2:13

Lines and symbols in legend on ICS and JellyBean

What steps will reproduce the problem?
1. create XYLineChart on a ICS or JellyBean device
2.
3.

What is the expected output? What do you see instead?
Symbols not showing in graph. Lines and symbols not showing in the chart's 
legend. The same code produces the correct result on GingerBread devices

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 3 Sep 2012 at 2:45

Attachments:

the graphs are shown occupying only the half of the screen for devices like samsung Galaxy S4 or Sony Experia Z

What steps will reproduce the problem?
the graphs are shown occupying only the half of the screen for devices like 
samsung Galaxy S4 or Sony Experia Z

What is the expected output? 
the graphs are shown occupying only the half of the screen 
What do you see instead?
that occupe more space.


What version of the product are you using? On what operating system?
android 4.3 in samsung Galaxy S4 or Sony Experia Z


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 6 Jan 2014 at 9:41

chart crashes when scroll it many time

What steps will reproduce the problem?
1. Creating chart:
AFreeChart chart = ChartFactory.createBarChart(
                        "",      // chart title
                        "Project Milestones",               // domain axis label
                        "Project Duration, In Days",                  // range axis label
                        dataset,                  // data
                        PlotOrientation.HORIZONTAL, // orientation
                        false,                     // include legend
                        true,                     // tooltips?
                        false                     // URLs?
                );

                // NOW DO SOME OPTIONAL CUSTOMISATION OF THE CHART...

                // set the background color for the chart...
                chart.setBackgroundPaintType(new SolidColor(Color.BLACK));

                // get a reference to the plot for further customisation...
                CategoryPlot plot = (CategoryPlot) chart.getPlot();

                // set the range axis to display integers only...
                NumberAxis rangeAxis = (NumberAxis) plot.getRangeAxis();
                rangeAxis.setLabelPaintType(new SolidColor(Color.WHITE));
                rangeAxis.setTickLabelPaintType(new SolidColor(Color.WHITE));
                rangeAxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());

                plot.getDomainAxis().setLabelPaintType(new SolidColor(Color.WHITE));
                plot.getDomainAxis().setTickLabelPaintType(new SolidColor(Color.WHITE));

                // disable bar outlines...
                BarRenderer renderer = (BarRenderer) plot.getRenderer();
                renderer.setDrawBarOutline(false);
                renderer.setShadowVisible(false);


                // set up gradient paints for series...
                GradientColor gp0 = new GradientColor(Color.RED, Color.rgb(64, 0, 0));
                GradientColor gp1 = new GradientColor(Color.BLUE, Color.rgb(0, 0, 64));
                renderer.setSeriesPaintType(0, gp0);
                renderer.setSeriesPaintType(1, gp1);

2. Scrolling it many times and it crashes:
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ "main" prio=5 tid=1 
RUNNABLE
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ | group="main" 
sCount=0 dsCount=0 obj=0x4137b6a0 self=0x41364988
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ | sysTid=8842 nice=0 
sched=0/0 cgrp=apps handle=1075345488
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ | schedstat=( 0 0 0 ) 
utm=261 stm=43 core=1
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.graphics.Paint.native_measureText(Native Method)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.graphics.Paint.measureText(Paint.java:1389)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
org.afree.chart.text.TextUtilities.getTextWidth(TextUtilities.java:284)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
org.afree.chart.text.G2TextMeasurer.getStringWidth(G2TextMeasurer.java:99)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
org.afree.chart.text.TextUtilities.nextLineBreak(TextUtilities.java:220)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
org.afree.chart.text.TextUtilities.createTextBlock(TextUtilities.java:181)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
org.afree.chart.axis.CategoryAxis.createLabel(CategoryAxis.java:1291)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
org.afree.chart.axis.CategoryAxis.refreshTicks(CategoryAxis.java:1170)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
org.afree.chart.axis.CategoryAxis.drawCategoryLabels(CategoryAxis.java:1031)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
org.afree.chart.axis.CategoryAxis.draw(CategoryAxis.java:995)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
org.afree.chart.plot.CategoryPlot.drawAxes(CategoryPlot.java:4066)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
org.afree.chart.plot.CategoryPlot.draw(CategoryPlot.java:3831)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
org.afree.chart.AFreeChart.draw(AFreeChart.java:1167)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
com.vritrac.ui.widgets.DemoView.paintComponent(DemoView.java:796)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
com.vritrac.ui.widgets.DemoView.onDraw(DemoView.java:677)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.draw(View.java:13650)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12601)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12645)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2920)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12537)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12645)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2920)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12537)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12645)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2920)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12537)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12645)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2920)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12537)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12645)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2920)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12537)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12645)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2920)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12537)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12645)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2920)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12537)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.View.getDisplayList(View.java:12645)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:1170)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.ViewRootImpl.draw(ViewRootImpl.java:2276)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2148)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1959)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1113)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4475)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.Choreographer.doCallbacks(Choreographer.java:555)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.Choreographer.doFrame(Choreographer.java:525)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.os.Handler.handleCallback(Handler.java:615)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.os.Handler.dispatchMessage(Handler.java:92)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.os.Looper.loop(Looper.java:137)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
android.app.ActivityThread.main(ActivityThread.java:4918)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
java.lang.reflect.Method.invokeNative(Native Method)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
java.lang.reflect.Method.invoke(Method.java:511)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1004)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:771)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ at 
dalvik.system.NativeStart.main(Native Method)
02-04 14:37:49.102    8842-8842/com.vritrac I/dalvikvm﹕ [ 02-04 14:37:49.102  
8842: 8842 E/dalvikvm ]





Original issue reported on code.google.com by [email protected] on 4 Feb 2014 at 12:38

Scrollable graph

What steps will reproduce the problem?
I have added so many(around 200) data set to the bar graph. All the bars are 
visible to the screen simultaneously. 

What is the expected output? What do you see instead?
I would like to have some of the bars visible only and based on horizontal 
scroll other bars should be visible.

What version of the product are you using? On what operating system?
I am using latest version of afreechart on the Android operating system.

Please provide any additional information below.
Its very useful library for Android. Good work. Thanks

Original issue reported on code.google.com by [email protected] on 19 Jan 2012 at 3:07

how to set my header xml file to the chart

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
I expected my header but it will come separate header in pie,bar chart view 

What version of the product are you using? On what operating system?
I'm using afreechart0.0.2
Please provide any additional information below.
while generating charts i cant see my header and footer it will came with it's 
won style

Original issue reported on code.google.com by [email protected] on 1 Jun 2011 at 6:35

more than 1k data points

What steps will reproduce the problem?
1. first of all i make the Array list with type Array list;
2. the Parent Arraylist size is 8 and it's Every child Contain more 1k data 
point for x axis.
3. It takes maximum 800 data point easily and if i pass more than 1k or 1k 
point the app crashes.

What is the expected output? What do you see instead?
I think the library want to accept the data of point if i pass more than 1k 
data points to 5k data points .


What version of the product are you using? On what operating system?
I am using this Version 0.0.2 release. And My operating system is Android 4.1.1


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 15 Apr 2014 at 2:11

Attachments:

examples not accessible

why did you not include all examples from the demo apk to the source zip and 
compile it with proguard? i thought this "a free chart" which isn't. i wasted 
time and have to waste even more to deassemble the examples.

Original issue reported on code.google.com by [email protected] on 19 May 2012 at 1:50

afreechart_sample uses non existing classes

What steps will reproduce the problem?
1. Download afreechart-0.0.3.zip
2. Run afreechart_sample
3. Interpreter complains that org.afree.graphics.* does not exist

What is the expected output? What do you see instead?
I expect the demo to run without errors

What version of the product are you using? On what operating system?
Version 0.0.3, using Eclipse Indigo, WindowsXP

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 30 Oct 2011 at 7:34

dotted line series

Is there a way to draw dotted series?

It seems that on the afreechart port the class BasicStroke was stripped out, 
and the setSeriesStroke method is not implemented for XYLineAndShapeRenderer

Thanks,

Albert

Original issue reported on code.google.com by [email protected] on 16 May 2011 at 3:45

PieChart Custom Colors

Hello,

I've been looking into the piechart functionality.
However, when I've tried to set custom piechart colors, I noticed that you 
removed this functionality.

The method should PiePlot.setSectionPaint(key, color)

You however only have PiePlot.setSectionPaintType(key, PaintType) which is also 
deprecated.

Is there an alternative way to set the colors of each pie chart item??

Affects: AFreeChart version 0.0.4.

Yours Sincerely,
Lars

Original issue reported on code.google.com by [email protected] on 20 Mar 2013 at 9:32

not work scrolling

What steps will reproduce the problem?
1. I have added so many data set to the time chart graph
2. All the datas are visible to the screen simultaneously
3.

What is the expected output? What do you see instead?
I would like to have some of the line visible only and based on horizontal 
scroll other line should be visible.

What version of the product are you using? On what operating system?
afreechar 0.0.4.jar  , Galaxy S2(Gingerbread)

Please provide any additional information below.
Its very useful library for Android. 

Thanks

Original issue reported on code.google.com by [email protected] on 18 Jan 2013 at 4:52

Selecting of point in scatter chat on tab does not select it correctly if the point is far away from left border

What steps will reproduce the problem?
1. Create a sample scatter chart using afreechart  
2. Add about 20 sample points on the graph
3. The points which are away from the left corner are not selected correctly 
when clicked.

Expected output is that the clicked points should be selected correctly.
Seen output is that points near to the one clicked are being selected.

NOTE - When we scroll the graph so that the point which was earlier not 
selected correctly is moved nearer to the left border of tab then it gets 
selected correctly.

I am using Samsung Galaxy tab 10.1 running andriod 3.1

Knowing which point is clicked is done by  setRangeCrosshairVisible(true). This 
shows that wrong point is being
selected when selecting the point and not the one that I click which is far 
away.

Original issue reported on code.google.com by [email protected] on 24 Apr 2012 at 7:17

runtime error

Hello,

I compiled the demo app using source (not chart jar files).
When I run the app on a tablet I got following error (see bellow).
Can I have the source code of afreegraphics.jar so I can fix myself.

Thanks alot!

E/dalvikvm(11014): Could not find class 'org.afree.graphics.geom.RectShape', 
referenced from method org.afree.chart.ChartRenderingInfo.<init>
W/dalvikvm(11014): VFY: unable to resolve new-instance 566 
(Lorg/afree/graphics/geom/RectShape;) in Lorg/afree/chart/ChartRenderingInfo;
D/dalvikvm(11014): VFY: replacing opcode 0x22 at 0x0003
I/dalvikvm(11014): Could not find method 
org.afree.graphics.geom.RectShape.setRect, referenced from method 
org.afree.chart.ChartRenderingInfo.clear
W/dalvikvm(11014): VFY: unable to resolve virtual method 6772: 
Lorg/afree/graphics/geom/RectShape;.setRect (DDDD)V
D/dalvikvm(11014): VFY: replacing opcode 0x74 at 0x0007
I/dalvikvm(11014): Could not find method 
org.afree.graphics.geom.RectShape.clone, referenced from method 
org.afree.chart.ChartRenderingInfo.clone
W/dalvikvm(11014): VFY: unable to resolve virtual method 6752: 
Lorg/afree/graphics/geom/RectShape;.clone ()Lorg/afree/graphics/geom/RectShape;
D/dalvikvm(11014): VFY: replacing opcode 0x6e at 0x000c
W/dalvikvm(11014): VFY: unable to find class referenced in signature 
(Lorg/afree/graphics/geom/RectShape;)
W/dalvikvm(11014): VFY: unable to find class referenced in signature 
(Lorg/afree/graphics/geom/RectShape;)
I/dalvikvm(11014): Could not find method 
org.afree.graphics.geom.RectShape.setRect, referenced from method 
org.afree.chart.ChartRenderingInfo.setChartArea
W/dalvikvm(11014): VFY: unable to resolve virtual method 6774: 
Lorg/afree/graphics/geom/RectShape;.setRect 
(Lorg/afree/graphics/geom/RectShape;)V
D/dalvikvm(11014): VFY: replacing opcode 0x6e at 0x0002
W/dalvikvm(11014): VFY: unable to find class referenced in signature 
(Lorg/afree/graphics/geom/Shape;)
I/dalvikvm(11014): Could not find method 
org.afree.graphics.geom.Shape.contains, referenced from method 
org.afree.chart.entity.StandardEntityCollection.getEntit
y
W/dalvikvm(11014): VFY: unable to resolve interface method 6777: 
Lorg/afree/graphics/geom/Shape;.contains (FF)Z
D/dalvikvm(11014): VFY: replacing opcode 0x72 at 0x0018
D/AndroidRuntime(11014): Shutting down VM
W/dalvikvm(11014): threadid=1: thread exiting with uncaught exception 
(group=0x40212760)
E/AndroidRuntime(11014): FATAL EXCEPTION: main
E/AndroidRuntime(11014): java.lang.NoClassDefFoundError: 
org.afree.graphics.geom.RectShape
E/AndroidRuntime(11014):        at 
org.afree.chart.ChartRenderingInfo.<init>(ChartRenderingInfo.java:125)
E/AndroidRuntime(11014):        at 
org.afree.chart.ChartRenderingInfo.<init>(ChartRenderingInfo.java:112)
E/AndroidRuntime(11014):        at 
org.afree.chart.demo.DemoView.initialize(DemoView.java:103)
E/AndroidRuntime(11014):        at 
org.afree.chart.demo.DemoView.<init>(DemoView.java:89)
E/AndroidRuntime(11014):        at 
org.afree.chart.demo.view.AnnotationDemo01View.<init>(AnnotationDemo01View.java:
71)
E/AndroidRuntime(11014):        at 
org.afree.chart.demo.activity.AnnotationDemo01Activity.onCreate(AnnotationDemo01
Activity.java:63)
E/AndroidRuntime(11014):        at 
android.app.Activity.performCreate(Activity.java:4397)
E/AndroidRuntime(11014):        at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1048)
E/AndroidRuntime(11014):        at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1779)
E/AndroidRuntime(11014):        at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1831)
E/AndroidRuntime(11014):        at 
android.app.ActivityThread.access$500(ActivityThread.java:122)
E/AndroidRuntime(11014):        at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1024)
E/AndroidRuntime(11014):        at 
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(11014):        at android.os.Looper.loop(Looper.java:132)
E/AndroidRuntime(11014):        at 
android.app.ActivityThread.main(ActivityThread.java:4123)
E/AndroidRuntime(11014):        at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(11014):        at 
java.lang.reflect.Method.invoke(Method.java:491)
E/AndroidRuntime(11014):        at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime(11014):        at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime(11014):        at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(  131):   Force finishing activity 
org.afree.chart/.demo.activity.AnnotationDemo01Activity
W/ActivityManager(  131):   Force finishing activity 
org.afree.chart/.demo.ChartHierarchyActivity
W/ActivityManager(  131): Activity pause timeout for ActivityRecord{40f9f908 
org.afree.chart/.demo.activity.AnnotationDemo01Activity}

Original issue reported on code.google.com by [email protected] on 7 Apr 2012 at 5:09

Demo sliding chart02 is not OK

What steps will reproduce the problem?
1. Srat demo 0.0.4 

What is the expected output? What do you see instead?
The new demo for "slidingchartdemo02" is not OK on galaxy S2 . There is no 
visible slide effect . 
The "slidingchartdemo01" is OK.


What version of the product are you using? On what operating system?
Android 2.34




Original issue reported on code.google.com by [email protected] on 29 Apr 2012 at 9:31

how can i set defaut chart zoom

I used finance chart OHCL: candle stick, by default the candle very small, i 
want it bigger than default. How can I do that?

Thank you for your help


Original issue reported on code.google.com by [email protected] on 9 Oct 2013 at 4:32

Getting "The return type is incompatible with View.getScaleX()" error

What steps will reproduce the problem?
1. Downloaded all the files
2. Imported all the libraries
3. Running Sample project

What is the expected output? What do you see instead?
Expecting to run the sample project. However, getting errors.

What version of the product are you using? On what operating system?
0.0.4

Please provide any additional information below.
When I am running the application I am getting the following 2 errors:
1. The return type is incompatible with View.getScaleX()
2. The return type is incompatible with View.getScaleY()

On Element : DemoView.java

Errors are pointing to the below functions:

    public double getScaleX() {
        return this.scaleX;
    }

    public double getScaleY() {
        return this.scaleY;
    }

Error at "double".

Original issue reported on code.google.com by [email protected] on 13 Sep 2012 at 3:45

Problem creating moving averages

What steps will reproduce the problem?
1. Create a TimeSeries of Milliseconds or FixedMilliseconds
2. Add a MovingAverage to the TimeSeriesCollection

 MovingAverage.createMovingAverage(priceSeries, "SMA 138", 138, 0));

3. Use the TimeSeriesCollection together with a XYPlot and 
XYLineAndShapeRenderer.

What is the expected output? What do you see instead?
I expect to see the same moving average as is I use Minute or Day as 
RegularTimePeriod. What I see is a moving average following the priceSeries 
exactly.

What version of the product are you using? On what operating system?
Version 0.0.4 on Android 4.1.1

Please provide any additional information below.
Creating moving averages does not work for XYLineAndShapeRenderer when the 
timeseries has a Millisecond RegularTimePeriod.

Original issue reported on code.google.com by [email protected] on 28 Aug 2012 at 7:01

PDF generation

Hi, 
I want to export the generated chart into a pdf report. Please let me know how 
to do it.


Original issue reported on code.google.com by [email protected] on 28 Jun 2011 at 6:32

Chart not showing up in ScrollView

What steps will reproduce the problem?
1. create a a chart view which extends the DemoView given in the examples
2. add the chart view to a linear layout which is the only view in a Scroll view
3.

What is the expected output? What do you see instead?
If the chart is added to a linear layout only (no scroll view), the chart shows 
up exactly as expected. If the linear layout is the only view in a scroll view, 
and the chart view is added to the linear layout, the chart does not show up at 
all.

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 1 Sep 2012 at 8:58

Any support for similar functionality as in JFreeChart ChartUtilities.saveChartAsPNG

What version of the product are you using? On what operating system?
0.0.4, linux

Please provide any additional information below.
JFreeChart has ChartUtilities.saveChartAsPNG which you can use to save the 
chart into a PNG file, any plans on supporting that in AFreeChart? Any other 
means to achieve that currently on version 0.0.4?

Original issue reported on code.google.com by [email protected] on 2 Oct 2013 at 11:52

Legend Item Shape Color

What is the expected output? What do you see instead?
Legend item shape color is not showing in any chart.

What version of the product are you using? On what operating system?
I am using 0.0.4 source project by adding it as library. Android Version 4.0.1.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 11 Sep 2012 at 7:27

How to set percentage on PieChart?

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

The pie chart showing the percentage with the label


What version of the product are you using? On what operating system?
0.0.4... Android 3.2

Please provide any additional information below.

I Want to show the percentage with the labels on the pie chart.

I was reading the sample, and I can't put the percentage...

createDataset:

dataset.setValue(series1, new Double(1.0));
        dataset.setValue(series2, new Double(4.0));
        dataset.setValue(series3, new Double(3.0));
        dataset.setValue(series4, new Double(5.0));
        dataset.setValue(series5, new Double(23.50));
        dataset.setValue(series6, new Double(13.27));
        dataset.setValue(series7, new Double(8.27));
        dataset.setValue(series8, new Double(22.12));
        dataset.setValue(series9, new Double(35.39));
        dataset.setValue(series10, new Double(15.14));
        dataset.setValue(series11, new Double(18.12));
        dataset.setValue(series12, new Double(0.0));


private static AFreeChart createChart(PieDataset dataset) {

        AFreeChart chart = ChartFactory.createPieChart(
                "", // chart title
                dataset, // data
                true, // include legend
                true,
                true);
        TextTitle title = chart.getTitle();
        title.setToolTipText("A title tooltip!");


        PiePlot plot = (PiePlot) chart.getPlot();
        plot.setLabelFont(new Font("SansSerif", Typeface.NORMAL, 12));
        plot.setNoDataMessage("No data available");
        plot.setCircular(false);
       // plot.setLabelGap(0.02);
       // plot.setSimpleLabels(true);
        //plot.setExplodePercent(key, percent)
        plot.setExplodePercent(148.81, 1);

        return chart;

    }


Original issue reported on code.google.com by [email protected] on 7 May 2012 at 7:23

Tick units and Number Axis optimisation problem.

Creating a new XYPlot is very slow. Actually creation of plot is much slower 
then drawing graph itself. Reason of this problem is createStandardTickUnits 
method. It actually creates object adds to list and sort whole list. This is 
repeated for every object. 

Because both classes NumberTickUnits and TickUnits contain private fields, and 
contains no getter maybe we could make fileds in this classes final and in fact 
make this classes immutable? 

If we did it, we could speedup initialisation of TickunitsSource in NumberAxis.
Because we do a lot of creating and sorting objects there we could create all 
objects once at first use put them on list and sort them. Then we would put 
them in a source form list. We avoid lot of create/sorts. 
This solution works for me. I'm able to move and resize plots with touching 
screen, every time reploting whole graph. 



Original issue reported on code.google.com by [email protected] on 7 Apr 2012 at 11:59

Multi level Pie-Chart with afreechart

Hi,
I want to develop Multi level chart for bar chart and Pie-chart.
I am able to develop Multi level chart with bar chart with out any problem but 
i am not able to Multi level chart with Pie chart.

Please give suggestion or sample code for Multi level Pie chart.

regards,
suresh

Original issue reported on code.google.com by [email protected] on 24 Jan 2013 at 9:17

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.