Code Monkey home page Code Monkey logo

birdeye's People

Watchers

 avatar

birdeye's Issues

Unable to Set any Chart Colors

What steps will reproduce the problem?
1. <mc:MicroAreaChart dataProvider="{acMC}" height="100%" width="100%" 
    color="0x66CCFF"  />    
2.
3.

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

The color of the area chart should change to 0x66CCFF, however, it stayed 
black.

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

I downloaded the source on 12/05/2008, and created a swc using FB3.

Please provide any additional information below.

I also tried the following, none worked:
1. colors="{ new Array( '0x66CCFF' ) }"
2. fills="{ new Array( new SolidFill( 0x66CCFF, 0.3 ) ) }"

I think there's a bug in MicroAreaChart.as Line 106.  My proposed change:
if( colors != null || !isNaN( color ) )

For some reason, I can't debug into useColor(Number) in BasicMacroChart.  
The return value of useColor seems to be null all the time (for me).

Original issue reported on code.google.com by [email protected] on 6 Dec 2008 at 6:12

StyleName inconsitancy

minor issue:
GeoFrame has styleName 'stroke' to define keylines.
Choropleth has styleName 'strokeItem' to define keylines

Original issue reported on code.google.com by [email protected] on 28 Apr 2009 at 1:39

Label placement is incorrect when changing Edge Label Styles

What steps will reproduce the problem?
1. go to
http://birdeye.googlecode.com/svn/trunk/ravis/RaVisExamples/example-binaries/RaV
isExplorer.html#
2. change the label layout
3. notice the labels are misplaced.
4.  Hit draw graph and notice them move to the appropriate location

What is the expected output? What do you see instead?
Expected output is the labels will be properly placed, but instead they are
all misaligned.

What version of the product are you using? On what operating system?
Taken from SVN 5/7/2009



Original issue reported on code.google.com by [email protected] on 9 May 2009 at 12:29

how to use two edgeLable between two node in Ravis

What steps will reproduce the problem?
1. sometimes two nodes have two relations, so we need two line between two 
nodes, and two edgelabel, how to do it?
2.
3.

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


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 30 Dec 2010 at 2:45

If colors array is non-0 length for MicroBarChart and MicroColumnChart, then columns not drawn - missing else case in createColumns/createBars.

What steps will reproduce the problem?
1. Set a colors array on MicroBarChart or MicroColumnChart

<microcharts:MicroBarChart backgroundColor="#DDDDDD" 
backgroundStroke="#888888" colors="[0x666666, 0x000000, 0x000000, 
0x000000, 0x000000]" height="40" width="200" stroke="#888888" 
showDataTips="true" spacing="3" id="costChart" />

2. No columns appear, just an empty microchart background.

Here's the current code in createColumns()/createBars():
  if (colors == null || colors.lenght == 0)
      if (negative && dataValue < 0)
      column.fill = new SolidFill(_negativeColor);
      else
      {
    if (isNaN(color))
      column.fill = black;
    else 
      column.fill = new SolidFill(color);
      }

  Notice that there isn't an else case for the first if.  Missing {} make 
this difficult to notice at first glance.


Here is fixed code for both classes:

   if (colors == null || colors.length == 0) {
    if (negative && dataValue < 0) {
        column.fill = new SolidFill(_negativeColor);
    }
    else
    {
        if (isNaN(color)) {
            column.fill = black;
        }
        else {
            column.fill = new SolidFill(color);
        }
    }
}
else {
    if (i < colors.length) {
        column.fill = new SolidFill(colors[i]);
    }   
    else {
        // Use the last color in the array if colors size is less
        // than the number of data points.  
        column.fill = new SolidFill(colors[colors.length - 1]);
    }                   
}





What version of the product are you using? On what operating system?
trunk, (March 28th), windows




Original issue reported on code.google.com by [email protected] on 28 Mar 2009 at 10:53

order of elements display doesn't apply (QaVis and NG)

What steps will reproduce the problem?
1. the order inside the elements section has no
effect on their display order.

What is the expected output? What do you see instead?
Elements must show up according the elements section order.

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 4 Aug 2009 at 12:16

Node Labels not showing in revision 1822 of ravis

What steps will reproduce the problem?
Project in attached zip file does not render the node labels and the same 
application rendered labels correctly in previous version of ravis.

What is the expected output? What do you see instead?
Graph renders with no node labels in the graph.

What version of the product are you using? On what operating system?
Library built and/or released with svn revision 1822.

I have attached a patch that makes the labels render, but this does not seem to 
be the proper solution.  I am fairly new to flex and am not 100% sure what the 
correct solution would be.  I can think of plenty of incorrect solutions :-P

Line 329-331 of EnhancedVisualGraph is as follows

            if((_nodeLabelRendererFactory != null) && 
                (vn is IEnhancedVisualNode) && 
                (_edgeRendererFactory is IControllableEdgeRenderer)) {

To the best of my knowledge _edgeRendererFactory is of type IFactory and will 
never be a IControllableEdgeRenderer.

Removing this check makes the labels render, but I am assuming this validation 
was added for a legitimate reason.  An instance could be created from the 
factory and that could be checked against IControllableEdgeRenderer but that 
seems to not be the correct solution.

Anyway, I attached a patch with that line removed.  Applying it will make the 
labels render but removes the validation.


Original issue reported on code.google.com by [email protected] on 22 Feb 2011 at 2:17

Attachments:

ForceDirectedLayouter throwing type cast error

What steps will reproduce the problem?
1. create a visualGraph.
2. set ForceDirectedLayouter as the layout algorithm.
3. add nodes using visualGraph.createNode()

What is the expected output? What do you see instead?
the layouter should work properly instead of showing error.

What version of the product are you using? On what operating system?
source code upto revision 1822.
opearting system - Windows XP

Please provide any additional information below.
The problem is due to following code:-
803  /**
804  * @inheritDoc
805  * */
806  public function get visibleVEdges():Array {
807  return _visibleVNodesList.sortOn("id");
808  }

this should be replaced with
803  /**
804  * @inheritDoc
805  * */
806  public function get visibleVEdges():Array {
807  return _visibleVEdgesList.sortOn("id");
808  }

Original issue reported on code.google.com by [email protected] on 15 Feb 2011 at 9:04

Can not link nodes in vgraph

== What steps will reproduce the problem? ==

For me, the following two lines do not work:
vgraph.unlinkNodes(selectedNode.inEdges[0].node1.vnode, selectedNode.vnode);
vgraph.linkNodes(vgraph.currentRootVNode, selectedNode.vnode);

ActionScript throws an error, which I have included at the bottom of the bug 
report.  I have reproduced this in multiple projects, and have included a 
modified demo project to reproduce this behavior.
1. Select a node other than the root node by using the keyboard
2. Click the "Change Parent" button at the bottom.  An error should occur.

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

I would expect that a new edge would be created (and rendered, given a 
vgraph.draw() call) linking the root node to the selected node.

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

I am using revision 1828 of Ravis in Flex 3.5.

== Please provide any additional information below. ==

It appears the data for the newly created Edge is never set before the edge is 
rendered.  I have included the full stack trace below:

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
    at org.un.cava.birdeye.ravis.enhancedGraphLayout.visual.edgeRenderers::EdgeRenderer/set data()[/Users/bschoenberg/code/designer/libravis/org/un/cava/birdeye/ravis/enhancedGraphLayout/visual/edgeRenderers/EdgeRenderer.as:316]
    at org.un.cava.birdeye.ravis.graphLayout.visual::VisualGraph/createVEdgeLabelView()[/Users/bschoenberg/code/designer/libravis/org/un/cava/birdeye/ravis/graphLayout/visual/VisualGraph.as:1911]
    at org.un.cava.birdeye.ravis.enhancedGraphLayout.visual::EnhancedVisualGraph/createVEdgeLabelView()[/Users/bschoenberg/code/designer/libravis/org/un/cava/birdeye/ravis/enhancedGraphLayout/visual/EnhancedVisualGraph.as:363]
    at org.un.cava.birdeye.ravis.graphLayout.visual::VisualGraph/setEdgeVisibility()[/Users/bschoenberg/code/designer/libravis/org/un/cava/birdeye/ravis/graphLayout/visual/VisualGraph.as:2733]
    at org.un.cava.birdeye.ravis.enhancedGraphLayout.visual::EnhancedVisualGraph/createVEdge()[/Users/bschoenberg/code/designer/libravis/org/un/cava/birdeye/ravis/enhancedGraphLayout/visual/EnhancedVisualGraph.as:305]
    at org.un.cava.birdeye.ravis.graphLayout.visual::VisualGraph/linkNodes()[/Users/bschoenberg/code/designer/libravis/org/un/cava/birdeye/ravis/graphLayout/visual/VisualGraph.as:1170]
    at ViseoTypeGraph/changeParent()[C:\svn\cg\cgmg3ais\Samples\ViseoTypeGraph\src\ViseoTypeGraph.mxml:75]
    at ViseoTypeGraph/___ViseoTypeGraph_Button2_click()[C:\svn\cg\cgmg3ais\Samples\ViseoTypeGraph\src\ViseoTypeGraph.mxml:32]

Original issue reported on code.google.com by [email protected] on 21 Mar 2011 at 5:42

MicroColumnChart - colors.lenght should be colors.length in createColumns.

What steps will reproduce the problem?
1. Use a non-0 colors array with a MicroColumnChart

In the createColumns() method, this line will have a problem:
  if (colors == null || colors.lenght == 0)

Fix:
  if (colors == null || colors.length == 0)


What version of the product are you using? On what operating system?
  trunk (March 28, 2009), Windows



Original issue reported on code.google.com by [email protected] on 28 Mar 2009 at 10:39

Using percentWidth on charts extending from BasicMicroChart.as sometimes loses data for parent with multiple children

What steps will reproduce the problem?
1. Create a Flox container (HBox in a DataGrid for example), and set the 
width to be a value that will be decreased by the Box when it does its 
measurement, or just add other children so that the % width of the 
MicroChart is more than the width the chart will be allocated.

<mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml"...
  <mx:Label width="30" text="{averageRequestsPerDay}" textAlign="right" />
    <microcharts:MicroLineChart width="100%" color="#666666"
          backgroundColor="#CCCCCC" height="20" 
          dataProvider="[3,7, 8, 0, 0, 4, 5]"
          negative="false" showDataTips="true"  />
</HBox>

2. When the chart is rendered, data points are lost.  
The attached image, BasicMicroChart_percentWidthIssue.gif shows that only 
the first 4 points are rendered or a 8 data point dataProvider.



3. The issue seems to be the measure() method in BasicMicroChart which is 
basically assuming that the percentage value is accurate and has not been 
reduced by the parent's measurement algorithms.
  tempWidth = Math.max(0, percentWidth/100 * (parent.width - edgeMet.left -
 edgeMet.right));

4. The issue does not appear if the width corresponding to the 
percentWidth assigned to the Chart is not reduced by the parent's 
measurement algorithm.


What is the expected output? What do you see instead?
I'd expect to see all of the data points rendered, allowing the parent's 
measurement to flow down to the children instead of having the MicroChart 
child try to do it itself.

Possible fix:
Just have the percentWidth() method work like UIComponent - if 
percentWidth is changed, then invalidate the parent size, and have it set 
the width on the child, etc.

        override public function set percentWidth(val:Number):void
        {
            _percentWidth = val;

            var p:IInvalidating = parent as IInvalidating;
            if (p) {
                p.invalidateSize();
                p.invalidateDisplayList();
            }
        }

Then in the measure() method in BasicMicroChart.as, the percentWidth 
calculations can be removed.

The BasicMicroChart_possibleFix.gif image shows the result - all of the 
data points are rendered.

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


Please provide any additional information below.

A BasicMicroChart.as used for the fix with the percentWidth changes and 
measure() commented  lines is attached.


percentHeight could be similarly changed.

Original issue reported on code.google.com by [email protected] on 30 Mar 2009 at 4:29

Attachments:

Cannot call layouter constructors without vgraph although null is the standard parameter

What steps will reproduce the problem?
1. Call a constructor of any layouter without the vgraph parameter
2.
3.

What is the expected output? What do you see instead?
Nothing should happen, since the null is a standard parameter of all the
layouters. But an error happen, because all layouters call the initModel()
method inside the constructor, which access the vgraph properties...

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


Original issue reported on code.google.com by [email protected] on 6 Dec 2008 at 4:59

[NG] Grid - Bug in the clearExcessGeometry function

Only the half excess geometries was clear.

private function clearExcessGeometries(nbrOfItems:Number):void
{
    while (this.geometryCollection.items.length > nbrOfItems)
    {
        this.geometryCollection.removeItemAt(nbrOfItems++);
    }
}

The items length decreases in the same time that nbrOfItems increases ;-).
It's more efficient to don't increase nbrOfItems.

Original issue reported on code.google.com by [email protected] on 28 Sep 2009 at 1:01

Attachments:

How to drag the subtree the visualGraph to an area to generate a new topology graph

Now I am using the ravis library to display a topology graph. My project 
required me to implements a function that allows user to drag part of the graph 
to the 
other area and creating a new graph. Is there any thing like the "dragEnable" 
attribute allows me to drag subtree and copy it to the other container to create
an new graph?




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

QaVis - Column element always over-paints a line element

What steps will reproduce the problem?
1. The order of the elements section does not matter
2. Line element + column element  means that the line is always "behind" the 
columns. 


What is the expected output? What do you see instead?
The ordering should fix that

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


Original issue reported on code.google.com by [email protected] on 5 Aug 2009 at 1:43

On click on node display bring "Circle" primitive to front

What steps will reproduce the problem?
1. When there are multiple lines of text on node  
2. Size of visual graph is small, some labels gets overlapped with other ones 
3.

What is the expected output? What do you see instead?
On click on any node (i.e. primitive circle) graph will bring it to front. 

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 8 Aug 2011 at 7:07

MicroPlotChart - using colors does not correctly change SolidFill of plots - all plots have a black fill.

What steps will reproduce the problem?
1. Create a MicroPlotChart using a colors array
<microcharts:MicroPlotChart width="200" height="40" showDataTips="true" 
dataField="val" backgroundColor="#DDDDDD" backgroundStroke="#888888" 
colors="[0xFFFFFF, 0xFFFFFF, 0, 0xFF0000, 0]" dataProvider="{dp}" 
negative="false" radius="10" />

2. Note that all of the circles show up with black fills, instead of 2 
white, 1 red, 2 black.


Analysis:

In createPlots() in MicroPlotChart.as, the line for using the colors array 
is correctly being called, based on the flex debugger:

  if (colors != null) {
    plot.fill = new SolidFill(useColor(i));
  }

The Degrapha asdocs for SolidFill say that the first arg should be an 
Object specifying a color value (unit or string).

However, the useColor() method in BaseMicroChart.as is returning a 
IGraphicsFill object, not a color value:
  protected function useColor(indexIteration:Number):IGraphicsFill

The Degrapha code is just treating an unknown type of object input as 
black, so everything shows up that way.


Fix: Use the fill returned from useColor() instead of creating a SolidFill.
  if (colors != null) {
    plot.fill = useColor(i);
    //plot.fill = new SolidFill(useColor(i));
  } 

The attached image shows that the different colors now appear.


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

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 29 Mar 2009 at 2:25

Attachments:

QaVis grids on browser resize aren't invalidated

What steps will reproduce the problem?
1. Draw any graph with qavis that contains gridlines
2. Resize the browser window after the content has been rendered

What is the expected output? What do you see instead?
New gridlines and the old ones should be invalidated. Instead there is a mix of 
new and old 
gridlines leading to a "messy" grid.

What version of the product are you using? On what operating system?
revision 1061 from trunk

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 3 Aug 2009 at 6:10

Zoom fails to work

i was trying to zoom the graph, once we start zoom-in Edges and nodes detached. 
this scenario is re-producible

http://birdeye.googlecode.com/svn/trunk/ravis/RaVisExamples/example-binaries/Enh
ancedRavisGraph.html#

Original issue reported on code.google.com by [email protected] on 20 Dec 2011 at 11:21

[NG] Edges don't follow node in tree display (node as subtree selection)

What steps will reproduce the problem?
1.
http://birdeye.googlecode.com/svn/branches/ng/examples/demo/BirdEyeExplorer.html
2. Graphs -> Tree -> Node Subtree
3. Move any node. Edges don't follow. (only in this selection.)

What is the expected output? What do you see instead?
Edges to move as node moves

What version of the product are you using? On what operating system?
Windows Server 2003 64bit, firefox 3.5.4, flashplayer 10.0.32.18

Please provide any additional information below.
Edges follow when other 2 options Node as root, Node subtree to root is
selected

Original issue reported on code.google.com by [email protected] on 12 Nov 2009 at 1:04

Attachments:

Hyperbolic Layout

What steps will reproduce the problem?
1. If you set "Hyperbolic Layout" on startup (from code), it throw 
Error("PoincareModel: Product received two vectors with different base!");

because it set _gradient[k] and _tempPositions[k] to NaN.



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

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

Please provide any additional information below.
[email protected]


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

Enhanced Node Labels render under nodes if coordinates are the same.

What steps will reproduce the problem?
Use the attached project in the Zip file.
Adding a node renderer whose labelCoordinates method puts the label in the same 
location draws labels underneath the rendered nodes.
In My attached example project I set the itemRenderer to MyNodeRenderer.
MyNodeRenderer simple makes sure that the labelCoordinates method draws the 
label on the same xy as the node itself.

What is the expected output? What do you see instead?
Expected: Labels on top of nodes
Actual: Labels covered by nodes

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

Please provide any additional information below.
I am able to fix this by extending EnhancedVisualGraph overriding 
createVNodeComponent and reordering the children in the nodeLayer so that the 
node renderers are added first and the labels are added after.  This forces the 
labels to be drawn  on top of the nodes.
I am willing to accept that my implementation is wrong and would welcome a 
suggestion of a different way to implement it.  I considered not using a label 
renderer and just making the label part of the node.   Seems like this might 
also fix the issue.

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

Attachments:

Combobox doesn't display greek characters

What steps will reproduce the problem?
1.Data provider for a Combobox comes from a database with utf-8 collation 

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

The dropdown of the combobox displays greek characters correctly, but when 
you select an item through it (and the dropdown closes), the selected item 
isn't displayed. It works fine when i use english characters.

What version of the product are you using? On what operating system?
flex3 builder, windows xp

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 25 Dec 2009 at 2:42

Degrafa 3.1 : missing classes

What steps will reproduce the problem?

As radarcharts aren't available in the compiled swc ( they are in the source ), 
i tried to compile the entire library up into a new swc. 

However, while trying to do this i saw that some of the degrafa classes where 
missing. 

So after doing some research i realized that you are providing an old version 
of degrafa ( 3.1 ), there newer version ( 3.2 ) however does have these 
classes. 

One of these classes is RadarTextPlus ( geometry package ) 

Quick Fix : 

Download the 3.2 swc file from the degrafa googlecode page. Delete the degrafa 
3.1 swc and compile everything up with the new 3.2 swc :)

Original issue reported on code.google.com by [email protected] on 18 May 2011 at 12:03

How to open a popup window on click of any node?

What steps will reproduce the problem?
1. On click nothing happens.


What is the expected output? What do you see instead?
On click of any node, it should open the corresponding info of that node.

What version of the product are you using? On what operating system?
Flex 3, windows vista.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 22 Jul 2011 at 3:00

MicroBarChart tooltip y location slightly off.

What steps will reproduce the problem?
1. Use showDataTips with a MicroBarChart with a large enough width to
   see where the tooltip location appears.

<microcharts:MicroBarChart width="200" spacing="3" showDataTips="true"
   height="40" dataProvider="[200, 80, 30, 10]"/>

2. The attached MicroBarChart_tooltip_prefix.gif image shows that the 
tooltip appears in the lower corner, instead of centered vertically like 
the other microcharts.


What is the expected output? What do you see instead?
Expecting to see a vertically centered tooltip location.

In the createBars() code, the startY value is incremented after it is used 
for positioning the column, but before the tooltip location is specified.

  startY += columnWidth + spacing;

A fix is either to move the startY change to below the 
  if (showDataTips)

block, or to change the positioning of the createToolTip to subtract the 
spacing value:

  geomGroup.createToolTip(data.getItemAt(i), _dataField, space+startX + 
posX, space - spacing + startY - columnWidth/2, 3);

The attached MicoBarChart_tooltip_postFix.gif file shows the vertically 
centered tooltip after the fix is applied.


What version of the product are you using? On what operating system?
trunk, March 28th, Windows.




Original issue reported on code.google.com by [email protected] on 28 Mar 2009 at 11:09

Attachments:

Long rendering time when using MicroLineChart in custom item renderer

I am using the MicroLineChart in a custom item renderer in a Datagrid. I
have around 100 rows in the Datagrid. Each MicroLineChart consists of
approx. 40 datapoints.
Now it takes around 2 sec to render this datagrid, and approx. 5 if I also
show datatips.
Is there a way to speed up the rendering or a recommended way how to use
MicroLineCharts in a custom item renderer?
Later I might have hundreds of datapoints, and this will take very long to
render.

Thank you,
Martin

Original issue reported on code.google.com by [email protected] on 13 Sep 2009 at 1:32

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.