Skip to main content

dvt:pieGraph with GraphDataModel Sample

Sharing a simple example for dvt:pieGraph that uses manually created GraphDataModel(hand coded data model without using ADF binding).


You can download the sample workspace from here.
Check out to get a feel of implementation.
[Runs with Oracle JDeveloper 11g R2 PS1]


oceans said…
Hi jobinesh,

I have a tricky clarification which is not actually related to this post but hoping u can give me a way.

I have a image scanning requirement (from scanners) were I get an image object from the (JTwain) from the scanner in an Applet on client side which needs to be saved in the database.

I came across a way how an applet can communicate with the backing bean using javaScript. But I am not able to send the image object to or from the applet and backing bean.

Any idea how we can achieve this please. with or without javaScript ? preferably without saving them in a temporary location in server.
Jobinesh said…
You may need to try posting image content to a Servlet from the applet code
oceans said…
Hmm... Thank you jobinesh, But how can I get the image object from that servlet and store it in the database.
John Glista said…
Hi Jobinesh, great post. Do you have any idea if it's possible to use the LocalXMLDataSource for creating a drillable graph? I see that it contains the required "drill" methods, but do you know how to use this class to add more layers? I've been trying to find more online documentation on this, as the API documentation leaves much to be desired.
Ray Ban said…
Hi jobinesh,

Is it possible to specify difference colors for each slice of the pie instead of using default colors.
I am finding a solution while clicking on a slice of pie chart, then a new pie open with same color of parent slice.


Popular posts from this blog

How to set Bind Variable Values at runtime ?

In this post I'm sharing a couple of approaches for programmatically setting bind variables values at run time. This post is an attempt to explain 'When to use what ?'[ In case if you are familiar with 'Bind Variables' in ADF BC, please refer Section 5.10, Working with Bind Variables in Fusion Developer's Guide ]

1. Set the Bind Variable value using RowSet::setNamedWhereClauseParam(...)

You can use use the setNamedWhereClauseParam(...) method on the ViewObject interface (which extends oracle.jbo.RowSet) to set the value for bind variables. Please note this sets the value on default RowSet. In other words, this doesn't have any effect on the secondary RowSets that you/system generates.
ViewObject vo = am.findViewObject("EmployeesView1"); vo.setNamedWhereClauseParam("bindVarDeptId", new Number(10)); vo.executeQuery();
2. Set the Bind Variable value using ViewObject's VariableValueManager::setVariableValue(...)

VariableValueManager Ma…