paragp / achartengine

AChartEngine is a charting library for Android applications. It currently supports the following chart types: line chart area chart scatter chart time chart bar chart pie chart bubble chart doughnut chart range (high-low) bar chart dial chart / gauge combined (any combination of line, cubic line, scatter, bar, range bar, bubble) chart cubic line chart All the above supported chart types can contain multiple series, can be displayed with the X axis horizontally (default) or vertically and support many other custom features. The charts can be built as a view that can be added to a view group or as an intent, such as it can be used to start an activity. The model and the graphing code is well optimized such as it can handle and display huge number of values. AChartEngine is currently at the 1.0.0 release. New chart types will be added in the following releases. Please keep sending your feedback such as we can continually improve this library. Find us on Facebook, too: http://www.facebook.com/achartengine Read a short introduction to AChartEngine here: http://www.javaadvent.com/2012/12/achartengine-charting-library-for.html Another good tutorial can be read here: http://jaxenter.com/effort-free-graphs-on-android-with-achartengine-46199.html
0 stars 1 forks source link

GraphicalView covers/hides another view in same Layout #442

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is more of a request for help initially ....
I have an app that is based on multiple Fragments, each Fragment (view) is like 
a separate Tab.  I have a main Layout (multi-fragments layout) 'hosting' the 
individual layouts of the Fragments.    
On the main-Layout, I have another specific small-square view which is a 
SurfaceView for Camera Preview feed (side class is implementing the Camera 
Preview). It is very small (say, 1 x 1 inch) at the top-left corner.  
Within the App implementation, one Fragment is implementing a 
GraphicalView/achartengine view as it is progressing with some data, and then 
rendering/repainting it as needed.   The rest of the Fragments/Classes are 
implementing other View objects (not related to achartengine, non graphic).
What I get is, that all of the non-achartengine Fragments are successfully able 
to treat the small SurfaceView (camera) as a corner-Overlay view (coming from 
the multi-view layout) on top of their individual Layouts, WHEREAS the 
achartengine Fragment entirely hides/covers that SurfaceView. i.e. the 
GraphicalView fills up its entire Layout 'without' considering the SurfaceView 
coming from the main-Layout. i.e. that Fragment can not make the SurfaceView as 
an "Overlay" ..
Practically speaking, as the user is pressing the tabs, it can see the camera 
feed as he/she flips thru the views, but when pressing on the one with the 
Graph then the camera disappears ...
(I hope my description makes sense ...)

"What steps will reproduce the problem?"

follow concept described above.  does not have to be a SurfaceView, can be any 
Layout that you want to program to be in foreground as Overlay on top of the 
Graph view to demonstrate the problem.

"What is the expected output? What do you see instead?"
I need the ability to have a small (much smaller than the graph view) Overlay 
view (of other Layout) while the graph view is active as if it is still in the 
foreground ...
What I get now is that the graph view blindly hides everything ...

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

"What version of the product binary library are you using?"
either 1.1.0 or 1.2.0

"Please provide any additional information below."
If you could provide snippet of code in which it is shown that overlay view can 
be implemented, that would be awesome.

Thank you very much !!
Ohad

Original issue reported on code.google.com by ohad.sha...@gmail.com on 10 Oct 2014 at 3:44