MII Trends - add data onto chart object
Hello,
Can anyone please provide some thoughts on my current requirement:
its pretty basic:
I select a site(Historian datasource) search for a historian tag and then based on the selection I Trend(lets say Line chart).
Now I should select another site(historian datasource) search for a historian tag and add the tag onto the line chart along with the previous one.
so basically give user an option to select any historian data source and trend.
While i do this, i should still be able to use the in built chart properties mainly the time control - to go back and forht in time..
while I am doing this, I am also keeping a running list of selected tags in another table with the tag's other properties -like current value, Eng Units, calculation, Description, datasource.and give an option with a check box to this running list - where in user can check /uncheck the item and that removes the pen from the chart - and maintaining the chart pen color consistent with the running list's item's color(check box color - for ease of matching) - I am able to accomplish this part successfully.
I grealty appreciate if any one cane give me some ideas.on how to adynamically add tags onto the chart from multiple datasources and maintian the inbuilt properties of the line chart.
As you can see, I am almost building a product here - similar to Aspen's web21 or osi's process explorer - using MII.
any input is greatly appreciated.
Regards,
pramod
The built-in features of the iChart allow the basic premise of what you are trying to do, however it limits you to one Data Server at a time in the iChart, because a single query template only has one data server source, but with an XacuteConnector as your data source you can do whatever you need.
You'll need to keep track of their choices either in an array or string list so you can appropriately bind it to the Param.x in your underlying Xacute Query template. The BLS logic for running the queries, and overloading the Server and Tags will be up to you.
The start and end date mapping for your Xacute query template will make the chart work like a typical Historian line trend with time controls. You'll just need to create the date inputs (DateTime datatype in your Transaction property) and link to the QueryStartDate/QueryEndDate of each tag query action.
You don't need to merge the data into one rowset. The chart will be happy with 1 Rowset per tag like you see from either Current, History, or HistoryEvent from a real Historian (not like Simulator's merged normalized dataset). You may just want to consider creating the Transaction OutputXML, and use the AssignXML for the first data source query, followed by AppendXML for just the Rowset(s) from each subsequent data source query. This way you keep building into the OutputXML in your loop.
Similar Messages
-
Add datas to UDT using business objects
Hi,
How to add datas to user defined tables using Business Objects.
Regards,
M.Dhivya.Hi,
Check for following provided bt SAP...
Dim ret As Long
d
Private Sub Add_Table_Click()
Dim oUserTablesMD As SAPbobsCOM.UserTablesMD
Set oUserTablesMD = oCompany.GetBusinessObject(oUserTables)
' When adding user tables or fields, use a prefix
' identifying your partner name space. This will
' prevent collisions from different partner add-ons
' SAP's name space prefix is "BE_"
'Set the two mandatory fields
oUserTablesMD.TableName = "T1"
oUserTablesMD.TableDescription = "Table1"
'Add the table (which contains 2 default, mandatory fields, 'Code' and 'Name')
ret = oUserTablesMD.Add
If ret <> 0 Then
oCompany.GetLastError ret, Str
MsgBox Str
Else
MsgBox "Table: " & oUserTablesMD.TableName & " was added successfully"
End If
End Sub
Private Sub Add_UDF_Click()
Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
Set oUserFieldsMD = oCompany.GetBusinessObject(oUserFields)
oUserFieldsMD.TableName = "T1"
oUserFieldsMD.Name = "AlbUDF"
oUserFieldsMD.Description = "Albert UDF"
'Add the field to the table
lRetCode = oUserFieldsMD.Add
If lRetCode <> 0 Then
oCompany.GetLastError ret, Str
MsgBox Str
Else
MsgBox "Field: '" & oUserFieldsMD.Name & "' was added successfuly to " & oUserFieldsMD.TableName & " Table"
End If
End Sub
Private Sub Add_Data_Click()
Dim oUserTable As SAPbobsCOM.UserTable
Set oUserTable = oCompany.UserTables.Item(1)
oUserTable.GetByKey ("T1")
'Set default, mandatory fields
oUserTable.Code = "A"
oUserTable.Name = "Albert"
'Set user field
oUserTable.UserFields.Fields.Item("U_AlbUDF").Value = "1"
oUserTable.Add
If ret <> 0 Then
oCompany.GetLastError ret, Str
MsgBox Str
Else
MsgBox "Value to field: '" & oUserTable.UserFields.Fields.Item("U_AlbUDF").Name & "' was updated successfuly to " & oUserTable.TableName & " Table"
End If
End Sub
Hope this helps,
Vasu Natari.
Edited by: vasu natari on Jun 12, 2009 11:21 AM
Edited by: vasu natari on Jun 12, 2009 11:21 AM -
How to bind schema form data to existing objects?
I imported an existing PDF as my template and it make all the text, check boxes and text fields into objects - Great!
But now when I add a schema with my DB data field names I am unsure how to turn the existing objects on the form to the schema fields!!
Can anyone help?Open the DataView where your schema is visually represented and simply drag and drop the schema item onto the object that you want to bind it to. If the bind is successful a little icon will appear in the DataView beside the node.
If you select on object in the form and click on the Binding tab, you will see an expression representing what you are bound to. You can also use the icon there to navigate to the appropriate node in the schema. -
Get-Content and add Date and Time in a new file
Hello,
in a existing file I have data like:
1;Idle
5;chrome
1;spoolsv
Now I need to grab the content and add date and time in front of each line and save it to another file like:
07.04.2015;10:18;1;Idle
07.04.2015;10:18;5;chrome
07.04.2015;10:18;1;spoolsv
But I don't have any idea how I could solve this challange. Does anyone have a helping hand for me?
GreetingsHello,
If you need a new file with the desired output try this
get-content .\current.txt | Foreach-Object{ $dntv = (get-date) ; "$dntv" + $_} | Out-File newfile.txt
regards,
V
Venu -
Add date to new text file name and generic text in body
Okay, I hope this is the right forum. To help manage and keep track of incoming assets/files and I created an Automator workflow with the following: "Get Selected Finder Items → Get Folder Contents → New Text File (w/Show this action when the workflow runs so I can give a unique name).
This creates a text file with the folder contents listed in the body.
I would like to know if I can do two things:
1. Automatically add a date/time stamp to the Save as field so it will automatically have a unique file name?
2. I also want to add text before the listed contents within the text file. (e.g.: Let's say the folder contents are Volumes/Mac HD/Generic_movie.mov. I want the final text to read:
"The following file has been moved to the local volume at: Volumes/Mac HD/Generic_movie.mov"
Is there a way to accomplish either one or both of these with Automator or AppleScripts?
Thanks.I would like to know if I can do two things...
This might address your first concern:
*1) Get Selected Finder Items*
*2) Get Folder Contents*
*3) New Text File* -- select a destination folder and check *Show Action When Run*
*4) Rename Finder Items:*
Choose *Add Date or Time* from the popup
Date/Time: select Created, Modified, or Current - Format: *Month Day Year*
Where: *After name* - Separator: *Forward Slash*
Separator: Space - check *Use Leading Zeros* (optional)
*5) Rename Finder Items:*
Choose *Add Text* from the popup
Add: *" at"* -- put a leading space before "at" (without the quotes), and select *after name*.
*6) Rename Finder Items:*
Choose *Add Date or Time*
Date/Time: Current - Format: *Hour Minute Second*
Where: *After name* - Separator: Dash
Separator: Space - check *Use Leading Zeros* (strongly recommended)
+--- End of Workflow ---+
Save the workflow as an application and use it as a droplet. Drop a desired folder onto the saved applet and enter a name when the dialog appears. The new text file, which will be found in the destination folder, should be appended with a date and time stamp, e.g., *"My Folder List 7/8/2010 at 23-54-09"*
Tested using Mac OS 10.4.11 and Automator v. 1.0.5
Good luck; hope this helps. -
How to add data in the saved spreadshee​t file
Hi all,
I am having trouble in adding data onto an already saved spreadsheet file. I don't want to overwrite the old file but modify it, such that the new data is stored below the old data. Or
As I am saving the data in a 2-D array in the VI, where the first row of the array is occupied only, each time I take new measurements the old data is lost, is there a way to keep the old data and store the new one below the old data in the same array. Any help in this matter would be appreciated.
Regards
Ibtasam
Message Edited by Ibtasam on 07-11-2007 05:58 AM
In the name of Allah, the most mercifull and the most GraciousHi all,
I have actually managed to find a way to add comments before saving the data. Following steps are followed:
1.) Add a table on the front panell
2.) Connect the table as an indicator to the output array
3.)Finally make a varaible by right clicking on the table indicator (Block diagram) and connect this variable as an input to the Write to Spreadsheet.vi
this way you get the array output into the table and you can add comments in the table and then save it. If any body need any more information then please let me know
regards
Ibtasam
In the name of Allah, the most mercifull and the most Gracious -
Problems with displaying data in Chart
Hi, everyone
I am stuck with displaying data in Chart. I set the minimum
and maximum for LinearAxis of a LineChart, so the chart only
display the data within this range. But sometimes I still need to
keep the trend of all data even the data is out of range.
eg, the range of verticalAxis is 0 -100 and I got data 70,
120, 90. Neither I want to set the data 120 to 100 in order to keep
the data point nor make the data 70 connected directly to data 90.
All I want is to keep the shape, from 70 to 120, from 120 to 90,
but 120 doesn't display in the chart.
My another question is when I try to select an area of a
chart to zoom in, how can I the get the exact area that I select to
zoom,
for example: I want to use exactly the result of the
following line:
((firstMouseX - this.mouseX)/ this.dataRegion.width) *
chart.dataProvider.length
that is I don't want to use methods ceil or floor to get the
approximate area.
Excuse me, I got one question more. The weird things is my
chart won't resize itself when I resize the VDividedBox or other
containers. I set the width equals 100% wherever it needs to be.
Just like the Flex sample - dashboard. If I open a small window at
the very begining and then maximize the window, the chart still
keep the small part of its container. I don't understand why.
Sorry for too many questions.
Hope someone can help me.
Thanks in advance.Can I use the Interpolate to solve the first problem?
But I have no idea about interpolate at all.
Please help! -
hi everyone ! i have created a view object based on 2 entities objects (EMP and Departaments of hr schema)
but i have also modified the sql query of the view in this way :
SELECT Employees.EMPLOYEE_ID,
Employees.FIRST_NAME,
Employees.LAST_NAME,
Employees.DEPARTMENT_ID,
Departments.DEPARTMENT_NAME,
Departments.DEPARTMENT_ID AS DEPARTMENT_ID1
FROM EMPLOYEES Employees ,DEPARTMENTS Departments
where Employees.DEPARTMENT_ID(+) = Departments.DEPARTMENT_ID
and i have created a tables based on this view object..... in this table are shown those empl. that doesnt have departaments.... what i want to do is how can i add data to those rows wich doesnt have employess but have departaments???
Thanks in advance :)Hi,
I think you can resolve that problem using EL expression condition, try the following in your table:
<af:table ...>
<af:column headerText="#{bindings.EmployeeDepartment.labels.FirstName}"
binding="#{backing_EmployeeDepartment.column2}" id="column2">
<af:outputText value="#{row.FirstName!=null? row.FirstName: 'No Emp Found'}"
binding="#{backing_EmpDept.outputText2}"
id="outputText2"/>
</af:column>
</af:table>
Regards,
Ahmad Esbita -
Can I add pictures onto the map in places
Hey I was wondering if I can add pictures onto my places map in photos and if so how? Any one know?
Added by including location info in a photo's EXIF data.
This is available with iPhoto on a Mac - adding location info to a photo that doesn't include it. -
Create New Operations for data collection(View Object)
ADF data collection(View Object) supports Create, CreateInsert, Delete, etc operations.
And would like to add more operations like clear, etc. How do i create my own operation and add it to data control for all the view objects in the data control.
Thanks
JPhi esjp2000
I'm not sure what kind or "clear operation" you are looking for, but I recently asked about a "clear search" in this forum thread:
" ADF BC : "clear search" using executeEmptyRowSet() "
ADF BC : "clear search" using executeEmptyRowSet()
It is about the executeEmptyRowSet() method, and that might not be what you are looking for. (It might not even be what I am looking for because it is undocumented and that is what my question is about and I haven't had an aswer yet.)
But ... it does provide an example of a "service method" Shay is referring to, in the example application:
http://verveja.footsteps.be/~verveja/files/oracle/ClearSearchStuff-v0.01.zip
(So, the specific service method implementation, "ScottServiceImpl.executeEmptyRowSetOnEmpWithParamsVOVI()" in the example, would be different in your case, depending on the specific "clear operation" you are looking for.)
success
Jan Vervecken -
Team:
Is this possible to write data to Excel using javascript.
I have created ScriptUI Dialog window. but i can't able to store datas in Excel.
I can add data column wise in excel( using writeln comment) but I can't able add data to Row wise.
Please anyone help me to solve this problem...
Thanks in Advance.
-yajiv
Source Window :
and the outputs wants......
save the excel name to the Batch ID..Hi Everyone!
I can add data column wise in excel( using writeln comment) but I can't able add data to Row wise.
Please anyone help me to solve this problem...
Thanks in Advance...
-yajiv....
Code :
var myDoc = app.activeDocument;
var myAllLinks = myDoc.allGraphics;
var myLink=new Array()
var mySeen = Object;
var myLogFile = new File("~/Desktop/Link Files.xls");
myLogFile.open("w", undefined, undefined)
myLogFile.writeln("Link Name");
for ( i = 1; i < myAllLinks.length; i++ )
var myLinkName = myAllLinks[i].itemLink.name;
var l=myLinkName.length;
var T=myLinkName.substring(l-4);
if (T==".tif"){
myLogFile.writeln(myAllLinks[i].itemLink.name); -
Can we change data in string object.
Can we change data in string object.
Saw this hack to access the char[]'s in a String in another thread. Beware that the effects of doing this is possible errors, like incorrect hashCode etc.
import java.lang.reflect.*;
public class SharedString {
public static Constructor stringWrap = null;
public static String wrap(char[] value, int offset, int length) {
try {
if (stringWrap == null) {
stringWrap = String.class.getDeclaredConstructor(new Class[] { Integer.TYPE, Integer.TYPE, char[].class });
stringWrap.setAccessible(true);
return (String)stringWrap.newInstance(new Object[] { new Integer(offset), new Integer(length), value });
catch (java.lang.NoSuchMethodException e) {
System.err.println ("NoMethod exception caught: " + e);
catch (java.lang.IllegalAccessException e) {
System.err.println ("Access exception caught: " + e);
catch (java.lang.InstantiationException e) {
System.err.println ("Instantiation exception caught: " + e);
catch (java.lang.reflect.InvocationTargetException e) {
System.err.println ("Invocation exception caught: " + e);
return null;
public static void main(String[] args) {
char[] chars = new char[] { 'l', 'e', 'v', 'i', '_', 'h' };
String test = SharedString.wrap(chars, 0, chars.length);
System.out.println("String test = " + test);
chars[0] = 'k';
chars[1] = 'a';
chars[2] = 'l';
chars[3] = 'l';
chars[4] = 'a';
chars[5] = 'n';
System.out.println("String test = " + test);
} Gil -
Pls Help me with steps to add data from xml file to SAP B1 through B1iSN.
Pls Help me with steps to add data from xml file to SAP B1 through B1iSN. I am getting stuck in xsl transformation. not able to understand where the mapping code needs to be added.
Pls explain me the steps for adding data from xml to B1 quotation step by step.
thanks and regards
PriyaHi,
Have you checked this: https://sap.na.pgiconnect.com/p45508295/?launcher=false&fcsContent=true&pbMode=normal ?
Thanks,
Gordon -
Add data to the table in the database with the use of add button
The name of my database is Socrates.
The name of the table in the database is Employees
I want to be able to add data to the database. i am presently working on the add button such that when i enter date into the textfield and press the add button it should automatically register in the table.
The error upon compilation is with this line of code
If (ae.getSource() == jbtnA)// it says that ";" is expected
Below is the entire code
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Mainpage extends JFrame implements ActionListener
JTextField jFirstName = new JTextField(15);
JTextField jSurname = new JTextField(12);
JTextField jCity = new JTextField(10);
JTextField jCountry = new JTextField(12);
JTextField jSSN = new JTextField(8);
JLabel jFirstLab = new JLabel("First Name");
JLabel jSurnameLab = new JLabel("Surname");
JLabel jCityLab = new JLabel("City");
JLabel jCountryLab = new JLabel("Country");
JLabel jSSNLab = new JLabel("Social Security Number (SSN)");
JButton jbtnA = new JButton ("Add");
JButton jbtnPrv = new JButton ("Previous");
JButton jbtnNt = new JButton ("Next");
JButton jbtnDl= new JButton ("Delete");
JButton jbtnSrch = new JButton ("Search");
public Mainpage (String title)
super (title);
Container cont = getContentPane();
JPanel pane1 = new JPanel();
JPanel pane2 = new JPanel();
JPanel pane3 = new JPanel();
pane1.setLayout (new GridLayout (0,1));
pane2.setLayout (new GridLayout(0,1));
pane3.setLayout (new FlowLayout());
pane1.add(jFirstLab);
pane1.add(jSurnameLab);
pane1.add(jCityLab);
pane1.add(jCountryLab);
pane1.add(jSSNLab);
pane2.add(jFirstName);
pane2.add(jSurname);
pane2.add(jCity);
pane2.add(jCountry);
pane2.add(jSSN);
pane3.add(jbtnA);
pane3.add(jbtnPrv);
pane3.add(jbtnNt);
pane3.add(jbtnDl);
pane3.add(jbtnSrch);
cont.add(pane1, BorderLayout.CENTER);
cont.add(pane2, BorderLayout.LINE_END);
cont.add(pane3, BorderLayout.SOUTH);
jFirstName.addActionListener(this);
jSurname.addActionListener(this);
jCity.addActionListener(this);
jCountry.addActionListener(this);
jSSN.addActionListener(this);
jbtnA.addActionListener(this);
jbtnPrv.addActionListener(this);
jbtnNt.addActionListener(this);
jbtnDl.addActionListener(this);
jbtnSrch.addActionListener(this);
validate();
setVisible(true);
setDefaultCloseOperation(EXIT_ON_CLOSE);
pack();
setResizable(false);
public void actionPerformed(ActionEvent ae)
If (ae.getSource() == jbtnA)
fst = jFirstName.getText();
srn = jSurname.getText();
cty = jCity.getText();
cnty = jCountry.getText();
int sn =
Interger.parseInt(jSSN.getText());
String ad = "Insert into Employees
(Firstname,Surname,City,Country,SSN)" +
"values('"fst"','"srn"','"cty"','"cnty"','"sn"')";
Statement stmt = con.createStatment();
int rowcount = stmt.executeUpdate(ad);
JOptionPane.showMessageDialog("Your
details have been registered");
Statement stmt = con.createStatment();
int rowcount = stmt.executeUpdate(ad);
public static void main (String args[])
Mainpage ObjFr = new Mainpage("Please fill this
registration form");
try
Class.forname("sun.jdbc.odbc.JdbcOdbcDriver");
String plato = "jdbc:odbc:socrates";
Connection con =
DriverManager.getConnection(plato);
catch(SQLException ce)
System.out.println(ce);
}i have restructured the code, but the following line of code is giving error:
String plato = jdbc:odbc:socrates;
the entire code is below:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.sql.*;
public class Mainpage extends JFrame implements ActionListener
JTextField jFirstName = new JTextField(15);
JTextField jSurname = new JTextField(12);
JTextField jCity = new JTextField(10);
JTextField jCountry = new JTextField(12);
JTextField jSSN = new JTextField(8);
JLabel jFirstLab = new JLabel("First Name");
JLabel jSurnameLab = new JLabel("Surname");
JLabel jCityLab = new JLabel("City");
JLabel jCountryLab = new JLabel("Country");
JLabel jSSNLab = new JLabel("Social Security Number (SSN)");
JButton jbtnA = new JButton ("Add");
JButton jbtnPrv = new JButton ("Previous");
JButton jbtnNt = new JButton ("Next");
JButton jbtnDl= new JButton ("Delete");
JButton jbtnSrch = new JButton ("Search");
Statement stmt;
String ad;
public Mainpage (String title)
super (title);
Container cont = getContentPane();
JPanel pane1 = new JPanel();
JPanel pane2 = new JPanel();
JPanel pane3 = new JPanel();
pane1.setLayout (new GridLayout (0,1));
pane2.setLayout (new GridLayout(0,1));
pane3.setLayout (new FlowLayout());
pane1.add(jFirstLab);
pane1.add(jSurnameLab);
pane1.add(jCityLab);
pane1.add(jCountryLab);
pane1.add(jSSNLab);
pane2.add(jFirstName);
pane2.add(jSurname);
pane2.add(jCity);
pane2.add(jCountry);
pane2.add(jSSN);
pane3.add(jbtnA);
pane3.add(jbtnPrv);
pane3.add(jbtnNt);
pane3.add(jbtnDl);
pane3.add(jbtnSrch);
cont.add(pane1, BorderLayout.CENTER);
cont.add(pane2, BorderLayout.LINE_END);
cont.add(pane3, BorderLayout.SOUTH);
jFirstName.addActionListener(this);
jSurname.addActionListener(this);
jCity.addActionListener(this);
jCountry.addActionListener(this);
jSSN.addActionListener(this);
jbtnA.addActionListener(this);
jbtnPrv.addActionListener(this);
jbtnNt.addActionListener(this);
jbtnDl.addActionListener(this);
jbtnSrch.addActionListener(this);
validate();
setVisible(true);
setDefaultCloseOperation(EXIT_ON_CLOSE);
pack();
setResizable(false);
try
Class.forname(sun.jdbc.odbc.JdbcOdbcDriver);
String plato = jdbc:odbc:socrates;
Connection con = DriverManager.getConnection(plato);
stmt = con.createStatment();
catch(SQLException ce)
System.out.println(ce);
catch(ClassNotFoundException ce)
System.out.println(ce);
public void actionPerformed(ActionEvent ae)
try
if(ae.getSource().equals(jbtnA))
fst = jFirstName.getText();
srn = jSurname.getText();
cty = jCity.getText();
cnty = jCountry.getText();
int sn = Interger.parseInt(jSSN.getText());
ad = "Insert into Employees
values('"+fst+"',"+srn+"','"+cty+"','"+cnty+"','"+sn+"')";
stmt.executeUpdate(ad);
JOptionPane.showMessageDialog(this, "Your details have been
registered");
catch(SQLException ce)
System.out.println(ce);
public static void main(String args[])
Mainpage ObjFr = new Mainpage("Please fill this registration form");
} -
1
I Have Problem in display data into Chart Or chartJs ,
In my Controller I Return Json and
use it in javascript like this but i have
error that tell me 't' is undefined
$(document).ready(function () {
$.getJSON("/Report/GetTransactions/", function (data) {
debugger;
var ctx = document.getElementById("myChart").getContext("2d");
var myBarChart = new Chart(ctx).Bar(data);
debugger;
data = {
labels: ["January", "February", "March", "April", "May", "June", "July"],
datasets: [
label: "My First dataset",
fillColor: "rgba(220,220,220,0.5)",
strokeColor: "rgba(220,220,220,0.8)",
highlightFill: "rgba(220,220,220,0.75)",
highlightStroke: "rgba(220,220,220,1)",
data: [data]
label: "My Second dataset",
fillColor: "rgba(151,187,205,0.5)",
strokeColor: "rgba(151,187,205,0.8)",
highlightFill: "rgba(151,187,205,0.75)",
highlightStroke: "rgba(151,187,205,1)",
data: [data]
and my controller is this
return Json(_reportRepository.GetTransactions(), JsonRequestBehavior.AllowGet);Hi Mario Castro,
In selection Screen initially u have to enter the input value after provides some user command only next screen will be trigger.
In the next screen PBO event you cant assign selection screen Variable into next screen fields.
Eg.
Selection Screen Variable
s_belnr
s_bukrs
s_gjahr
Next Screen
t_belnr
t_bukrs
t_gjahr
In PBO you can code
t_belnr = s_belnr
t_bukrs = s_bukrs
s_gjahr = s_gjahr
Revert back if any difficulties to do.
Regards,
Thangam.P
Maybe you are looking for
-
Sending Notification to a User (common box) without attaching an employee..
Dear all, I expect all of yours help on this doubt. I have created custom notification using wf_notification.send based on my logic, now I want to send these notification to common inbox in the Oracle. For this purpose i have created a user and attac
-
Hi experts, when i try to insert query into a workbook i get the following error message <internal error> Receiving from the BW server failed BW server raised exception: SYSTEM_FAILURE Do you want to see more information? when i click yes i get No ro
-
Hi, I'm trying to use the mousewheel to zoom into my map. When I work with the mousewheel events, I want to take the details from the event and calculate the new zoom. This all goes to pot when I get StackOverflowErrors everytime I use the mousewheel
-
Calculate measure in parent child hierarchy
Halo everyone I have a requirement about parent child hierarchy namely: 1. see the following picture as a sample. the situation I got here is every employee has its own measure (Sales Amount). when it rolls up to 'Employee1' so the Sales will calcula
-
Problems with getWidth() and getHeight() in class Canvas
Hi, i am developing MIDlets with Sun Studio4 One Update1 (Mobile Edition). Here is a simple example Code for my Problem: class MyCanvas extends Canvas public void paint(Graphics g) //Clear the Display g.setColor(0,0,0); //black