Giter Site home page Giter Site logo

achartengine's People

achartengine's Issues

add possibility to rotate textlabels

if you use a lot of textlabels on x-axis, they are rendered on top of each 
other. It would be nice to have a mehtod to rotate them (e.g. for 90 degrees in 
the first step, free rotation in future releases)

Original issue reported on code.google.com by [email protected] on 18 Nov 2010 at 6:46

Panning stops working when fully panned to left

What steps will reproduce the problem?
1. Display a MultipleXY Line graph
2. Zoom in
3. Pan fully to the left
4. Try to pan to the right

What is the expected output? What do you see instead?
I expect the data to pan to the right, but that doesn't work. Before I pan 
fully to the left, I can also pan to the right..



What version of the product binary library are you using?
svn rev 97

Please provide any additional information below.
- I have set only X-panning and have set a limit for panning. The limit works, 
but stops working when panning to the left (to zero).
I don't know if I'm doing something wrong, or this is a bug..


Original issue reported on code.google.com by [email protected] on 22 Nov 2010 at 3:26

negative values are rendered in bars

What steps will reproduce the problem?
1. draw a bar chart with poitive & negative values & display values

What is the expected output? What do you see instead?
values put on top of positive bars, negative values put below negative values. 
Instead the negative values are rendered unreadable in the bars, see attached 
snapshot.

What version of the product binary library are you using?
0.5


Original issue reported on code.google.com by [email protected] on 18 Nov 2010 at 6:53

Attachments:

touchEvent should always run default

with the new, zoom-enabled library, the GraphicalView does not call the super's 
implementation of onTouchEvent, which causes a loss of functionality.
For example, I want my application to launch an activity if the chart is 
selected, but using the new library, this event will be caught by your code. 
even if pan/zoom is disabled, I cannot use a touch/click/select event.
Please add:
return super.onTouchEvent(event)
instead of 'return true', so the default behavior persists. It might be good to 
skip the above call if pan/zoom are enabled (i.e. return true in the if() 
block).

Original issue reported on code.google.com by [email protected] on 25 Oct 2010 at 5:26

key cropped

I have several charts on my display at one time. They are each added to a 
separate LinearLayout, the first two weighted (equally), the 3rd is set to a 
fixed size of 100dip:
<linearlayout android:orientation="vertical">
   <linearlayout id="chart1" android:layout_weight="1" />
   <linearlayout id="chart2" android:layout_weight="1" />
   <linearlayout id="chart3" android:layout_height="100dp" />
</linearlayout>

i programmatically add the View to each of the linearLayout elements.

What is the expected output? What do you see instead?
I expect to be able to see the full chart, including the key & all axis text. 
for the 3rd chart, and the first two (if they have > 1 line of key text), the 
bottom of the chart is cropped. 


Please provide a source code snippet that we can use to replicate the issue.


What version of the product binary library are you using?
tested both on v0.5 and repository revision r56

Please provide any additional information below.
in the attached screenshot, the second chart (one with green line) should have 
three rows in its key/legend, but it is only showing one.
the last chart ('computer inaccuracy') is missing the key/legend altogether.


Original issue reported on code.google.com by [email protected] on 11 Oct 2010 at 1:03

Attachments:

Charts do not correctly populate the title bar

What steps will reproduce the problem?
1. Create a chart
2. Display chart with startActivity(ChartFactory.getLineChartIntent(this,
dataset, renderer));
3. Observe created chart

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

The titlebar contains my application's overall title with no way to set the
title.

Please provide a source code snippet that we can use to replicate the issue.

Please see above

What version of the product binary library are you using?

0.3.0

Please provide any additional information below.

Original issue reported on code.google.com by evancharlton on 20 May 2009 at 10:10

Zoom/panning on 1 axis

I like your new pan/zoom functions! I don't know what is on your todo
list, but I like the option to only zoom horizontal (or vertical for
other people). This is because I have a lot of data I want to display,
wherein the max/min Y values are staying the same, but the x-ax is
getting more points, the more time the app is recording.
I fixed this manually, by just removing the zoomparts and pan parts
for the y-axis, but maybe more people would like this function.

Original issue reported on code.google.com by [email protected] on 17 Nov 2010 at 8:48

Can I make a barchart with only one series?

What steps will reproduce the problem?
1.  Attempt to make a barchart with only one series
2. It doesn't work- get error and must force stop
3.

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


Please provide a source code snippet that we can use to replicate the issue.

must use XYMultipleSeriesDataset - makeBarChartIntent depends on it.  

What version of the product binary library are you using?

0.5

Please provide any additional information below.


Thanks,
Eric

Original issue reported on code.google.com by [email protected] on 24 Aug 2010 at 8:11

Horizontal scroll not working


we are getting the data messed up , so we are not able to refine it ,
zooming & scrolling will take of it


we are currently using 0.4.0

Waiting for reply



Original issue reported on code.google.com by [email protected] on 27 Jan 2010 at 6:59

Option to set margins for the axis

When you have a a Y value with 4 or more digits, the values on the left side of 
the Y-axis will overlap the Y-label or fall of the screen.
Adding a option to set the margins (or do it automatically) will fix this.

Original issue reported on code.google.com by [email protected] on 18 Nov 2010 at 7:56

key should show line style

The key at the bottom of the chart should show the 'style' of the data series 
as well (i.e. circle/square, etc).


Original issue reported on code.google.com by [email protected] on 10 Oct 2010 at 8:58

Labels overlapping lines

Make chart axis labels not overlap with the tick lines or the axis lines.
Add some configuration parameters for this.


Original issue reported on code.google.com by [email protected] on 1 Oct 2010 at 9:52

Zoom reset button

Besides the zoom in/zoom out buttons, a zoom reset button would be handy.

Original issue reported on code.google.com by [email protected] on 17 Nov 2010 at 8:52

Bug in TimeChart with conversion long -> double -> long

Bug is in conversion long -> double -> long. The first one is in 
TimeSeries.add(), the second one stays in TimeChart.drawXLabels().
Because of trimming of numbers sometimes it is impossible to restore Date 
class to draw labels.

Original issue reported on code.google.com by [email protected] on 1 Jun 2010 at 8:16

Panning limits

When panning, you can keep on panning, beyond the limits. It should probably be 
better to set limits for panning.

Original issue reported on code.google.com by [email protected] on 17 Nov 2010 at 8:50

Size of the graphical view is wrong when there is another view on top of it

What steps will reproduce the problem?
1. Create any graph with AChartEngine
2. Use another view on top of this graph ( I had a sliding drawer, from 
miscWidget on GoogleCode )
3. Move the sliding drawer

What is the expected output? What do you see instead?
The size of the graph was not the correct one.


Please provide a source code snippet that we can use to replicate the 
issue.


What version of the product binary library are you using?
Hum.. The last one ??

Please provide any additional information below.

Actually, I kind of fix it :
Changing graphicalView from :
 @Override
  protected void onDraw(Canvas canvas) {
    super.onDraw(canvas);
    canvas.getClipBounds(mRect);
    int top = mRect.top;
    int left = mRect.left;
    int width = mRect.width();
    int height = mRect.height();
    mChart.draw(canvas, left, top, width, height);
  }

To :
 @Override
  protected void onDraw(Canvas canvas) {
    super.onDraw(canvas);
    canvas.getClipBounds(mRect);
    int top = mRect.top;
    int left = mRect.left;
    //int width = mRect.width();
    //int height = mRect.height();
    int width = canvas.getWidth();
    int height = canvas.getHeight();
    mChart.draw(canvas, left, top, width, height);
  }


Note that it implies that the full graph view will be drawned every time, 
even if half of it is hidden. But I don't think it is such a big deal...


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

Bar chart spacing

Add a parameter for specifying the spacing between bars in bar charts.

Original issue reported on code.google.com by [email protected] on 1 Oct 2010 at 9:46

Draw a line in a bar chart

I want to draw a line in a bar chart. Currently, there is no way to mix a line 
chart with a bar chart. Can you provide a way to mix line chart with bar chart ?

Thanks.

Original issue reported on code.google.com by [email protected] on 17 Nov 2010 at 7:56

anti-aliasing please

The charts look 1E6 times better with anti-aliasing enabled.  Here's a patch.
The patch can be applied from within the directory trunk/achartengine with
the command:
patch -p1 < anti_aliasing.patch

Original issue reported on code.google.com by kostmo on 8 Dec 2009 at 6:20

Attachments:

Maven support?

It would be super helpful if this were registered in a maven repo somewhere.

Original issue reported on code.google.com by [email protected] on 12 Mar 2010 at 4:01

MathHelper.getAngle(int) will return improper value

What steps will reproduce the problem?
1. Pass any integer x > 720 or x < -720 and getAngle()'s value will not be 
between 0-360

example:

passing 1080 will return 720


Please provide a source code snippet that we can use to replicate the issue.

From org.achartengine.util.MathHelper.java:

public static int getAngle(int angle) {
    if (angle < 0) {
      return ANGLE + angle;
    }
    if (angle > ANGLE) {
      return angle - ANGLE;
    }
    return angle;
  }


What version of the product binary library are you using?
0.5.0


Please provide any additional information below.

This can be fixed with:

public static int getAngle(int angle) {
    return angle % ANGLE;
  }


Original issue reported on code.google.com by [email protected] on 28 Jul 2010 at 3:12

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.