Use of makit chart for multiple values against month

Hi all,
here is my test data:
var testDate = { mycollection : [ {Consumption : 200, Consumption1 : 170, ReadingDateTime: February},
                                 {Consumption : 300, Consumption1 : 170, ReadingDateTime: March},
                                 {Consumption : 200, Consumption1 : 130, ReadingDateTime: April},
                                 {Consumption : 200, Consumption1 : 230, ReadingDateTime: May},
                                 {Consumption : 200, Consumption1 : 270, ReadingDateTime: June},
                                 {Consumption : 200, Consumption1 : 200, ReadingDateTime: July},
In this consumption is for present year and consumption 1 is for previous year.
I want to implement both the values against the month using makit column charts:
var oChartj = new sap.makit.Chart({
     height: "80%",
     width: "100%",
     showRangeSelector :false,
     primaryColorPalette:["#18458D"],
     category : new sap.makit.Category({ column : "month" }),
     values : [new sap.makit.Value({ expression : "consumption"})]
     var jsonModel = new sap.ui.model.json.JSONModel();
      jsonModel.setData(testData);
       oChartj.addColumn(new sap.makit.Column({name:"month", value:"{ReadingDateTime}"}));
      oChartj.addColumn(new sap.makit.Column({name:"consumption", value:"{Consumption}"}));
     oChartj.setModel(jsonModel);
       oChartj.bindRows("/mycollection");
in this way i am able to print the data as consumption against month, I need to add consumption1 also.
How to do this?
Regards,
Arun

Hi All,
I was able to do the same with the help of series property in makit charts.
series : new sap.makit.Series({ column : "year" }),
In our test data we need to create the data's based on this value, for example if we are plotting consumption against month then the year should be a differentiating quantity within the test data.
So that the graph will iterate for that and plot two values for the same month.
Regards,
Arun

Similar Messages

  • Chart for multiple values

    Hi everyone,
    I've been working on a personal budget in Numbers 3, and so far it's going great.
    Now I'm at a point where I have data in several sheets and tables, and I would like to create a couple charts. So, I have two questions about charts for you:
    1 - I have one sheet for Expenses, and inside that sheet I have a table with 3 columns. Column A is Date, column B is Type (as in type of expense), and column C is Value for each expense. Cells in column B are Pop-ups, with predefined types of expenses (Groceries, Technology, Gas, Health, etc.). I add each expense for each day, like this:
    Date
    Type
    Value
    05/06/2014
    Gas
    $50
    07/06/2014
    Groceries
    $30
    08/06/2014
    Restaurant
    $40
    09/06/2014
    Groceries
    $15
    10/06/2014
    Pharmacy
    $22
    11/06/2014
    Groceries
    $8
    12/06/2014
    Gas
    $40
    From these, I would like to create a Pie Chart to see, for example, how much I spent on Groceries, or Gas, but I just can't figure out how to do this. Is this possible? And will the Pie Chart update as I insert new expenses?
    2 - I then have another sheet with a table inside for Total Expenses, Total Income and Balance. Total Expenses mirrors the Sum of the Expenses table, Total Income mirrors the Sum of the Income Table, and Balance is simply Income minus Expenses. The Balance value is constantly updating, and I was wondering if there's a way to create an Axis Chart that updates when the Balance value changes, along each week. For example, I would like to see how the Balance line would go from May up until now in weekly periods. Is this possible at all?
    I hope I was able to explain what I mean.
    Thank you so much for taking the time!

    Hi anamorphis,
    Have you tried this template in Numbers 3?
    Menu > File > New from Template Chooser > Personal Finance > Personal Budget
    It may give you some ideas.
    Regards,
    Ian.

  • Prompt used as view selector for multiple reports

    Hi All,
    Can a dashboard prompt be used as View Selector for multiple reports? If yes, please let me know how?
    Thanks
    Sumita

    Hi Sumita,
    You can do this with Dashboard prompts, but it's a little tricky. I'll highlight the process below. Keep In mind I assume you have three reports already created and have three views: View 1, View 2 and View 3.
    Phase I: The Dashboard Prompt
    1. Create a new dashboard prompt.
    2. Add any single column to your prompt. It doesn't really matter which one (just make sure nothing is prompted on it to be safe).
    3. For the sake of this example, I'll assume we added column: "Test Folder"."Test Field"
    4. Make sure your Operator is "is equal to/is in"
    5. Make sure the control is "Drop-down List"
    6. Change the Show to "SQL Results"
    7. Write a SQL statement similar to the following (TEST =<your subject area>, "Test Folder"."Test Field" = <your column>):
    SELECT CASE WHEN 1=2 THEN "Test Folder"."Test Field" ELSE 'View 1' END
    FROM TEST
    UNION
    SELECT CASE WHEN 1=2 THEN "Test Folder"."Test Field" ELSE 'View 2' END
    FROM TEST
    UNION
    SELECT CASE WHEN 1=2 THEN "Test Folder"."Test Field" ELSE 'View 3' END
    FROM TEST
    **Note: The reason why we need to do the CASE statement is because every logical query needs at least 1 presentation column. The case statement is a way to include the presentation column, but since the statement 1=2 is never true, we always use the ELSE condition.
    8. Set a presentation variable. Call it VIEW_PVAR
    9. Have the Prompt default to Specific Value: View 1
    10. Save the Dashboard Prompt and put it into the Dashboard with your reports.
    Phase II: Filter Reports
    1. Create a new Answer request
    2. Bring in your test column twice
    3. Change the formula (fx) on the second column to be: '@{VIEW_PVAR}{View 1}'
    4. Now add a filter to the presentation variable column
    5. Set the operator to "is equal to/is in' and set the value to: View 1
    6. Save the Request as "View 1 Filter"
    7. Change the value in the filter to: View 2
    8. Save the Request as "View 2 Filter"
    9. Change the value in the filter to: View 3
    10. Save the Request as "View 3 Filter"
    Phase III: Guided Navigation
    1. Create three sections in your dashboard
    2. Rename each section to: View 1, View 2 and View 3 respectively
    3. For each of the sections, do the following:
    3a. Click on properties
    3b. Click on Guided navigation
    3c. Set the Guided Navigation to the appropriate Filter report
    4. For each of the three sections, do the following:
    4a. Add in all three requests
    4b. Click on the request properties and select Show and the appropriate view for that section
    5. Save your changes to your Dashboard
    Good luck and if you found this post useful, please award points!
    Best regards,
    -Joe

  • "Scatter" Chart with Multiple Values per Date

    APEX Gurus,
    I need to plot a chart with multiple y-axis values along the x-axis.
    Here's an example:
    X-Axis (Date) Y-Axis (Number)
    1-JAN-07 1
    1-JAN-07 2
    1-JAN-07 3
    2-JAN-07 1
    2-JAN-07 2
    3-JAN-07 1
    Right now, APEX displays the X-axis (Date) as separate values on the x-axis. But I want all three 1-JAN-07 values to line up vertically under x-axis. I am currently using a line chart for this. And it displays a "dot" for each value (depending on my max rows value).
    Any insight would be much appreciated! And thanks in advance!
    Susan

    You can try using this charting tool for generating scatter charts:
    http://htmldb.oracle.com/pls/otn/f?p=31517:58
    Denes Kubicek

  • SetSelectedValue for multiple values in List Box

    Hi,
    I want to set the selectedValue for multiple values in the List Box. If i use setSelectedValue for all the values, it just highlights the last one.
    Can anyone tell me how do i highlight multiple values in the List Box?
    Scenario:
    I have one screen where the List Box and "Go" button is placed. When i select multiple values in the list box and hit "Go" it should display what i have selected in the List Box.
    Note: List Box is generated dynamically.
    Thanks,
    Naresh V

    setSelectedValue as the name indicates will set one value and in your case since you are using it multiple times it would pick the last value.
    When the user selects multiple values from the list box and clicks on Go you can capture those values in the controller for processing. What are you trying to achieve by resetting all the selected values on the same listbox ?

  • How to search for multiple values with Bex Prompts

    Hi,
    I would like to know  if it is possible to search for multiple values at the same time with Bex Prompts instead of searching one value at a time (please see the screen shot below). I searched the forum couldn't find any relevant answers. please let me know  how  to achieve?
    Thanks,
    Charvi.

    Hi Charvi,
    You can use wild card search to ensure you get multiple similar values listed as search output.use * for multiple characters and ? for single character.
    For Example, Ravi * would result you all employees with first name as Ravi
    You can use various search formats such as * Ravi * and * Ravi and Ra?? etc.
    Thanks
    Mallik

  • Dynamic where clause for MULTIPLE values

    In the following of dynamic where clause?
    i have some somewhat different problem.
    Is a dynamic where clause for multiple values possible?
    If the inputvariable varCode1,varCode2,varCode3,varCode4 are 0 then show all id's otherwise filter the resultset on var1 and/or var2,and/or var3,and/or var4.
    Example table:
    create table t
    (d int,var int);
    insert into t values (1 ,1 );
    insert into t values (2 ,1 );
    insert into t values (3 ,2 );
    insert into t values (4 ,3 );
    insert into t values (5 ,4 );
    insert into t values (6 ,4 );
    insert into t values (7 ,4 );
    insert into t values (8 ,4 );
    insert into t values (9 ,5 );
    insert into t values (10, 6);
    insert into t values (11, 6);
    So what i want to change the where clause upon the value of the varCodes. If var1 and var are not 0 a "AND" should be used otherwise an "OR"
    select id
    from tst
    where var = DECODE( :varCode1, 0, var, :varCode1)
    or/and(?) DECODE( :varCode2, 0, var, :varCode2)
    or DECODE( :varCode3, 0, var, :varCode3)
    or DECODE( :varCode4, 0, var, :varCode4)

    Please turn off your Caps Lock
    and try this link
    Dynamic WHERE clause

  • SQL Command code for multiple value string parameter

    Hi,
    I'm using crystal 2008 and there is a check box for multiple value  SQL Command  I need some help in writing the SQL Command code  for oracle (or sql server) for a multiple value STRING  parameter.
    Thanks in advance,
    Marilyn

    I could be wrong here, but I do not believe you can pass a multiple valued parameter to an SQL Command data source.  How I have gotten around this in the past is to put the "real" report into a subreport.  In the main report, create a formula field (basic syntax):
    formula = join({?parameter}, "|")
    Then, use this to pass the selected values to the subreport's parameter (call it {?sr-parm}).  The SQL Command in the subreport can then use that (MS SQL):
    select *
    from table
    where charindex(table.field, '{?sr-parm}') > 0
    HTH,
    Carl

  • How to use one email adress for multiple recipients

    Hello,
    I'd like to know how to use one email adress for multiple recipients. 
    this would be very useful or projects. for example;
    if i send one mail to [email protected], all people in this project get an email.
    I will add the people in this project myself. 
    I know it is possible, but I don't know how to do it ;-)
    please help me! 

    Hope this help.
    _http://technet.microsoft.com/en-us/library/cc164331(v=exchg.65) .aspx

  • How to use 1 apple id for multiple deivces

    How do I use 1 apple id for multiple devices.  My son just got new ipod and wants to imessage, but when he does it shows it is from me.

    Thank you

  • Can I use one itunes account for multiple users and multiple devices

    Can I use one itunes account for multiple users and multiple devices?

    The iTunes EULA, as I understand it (I'm not an attorney )for Apps is basically that one person can use an App multiple devices, or multiple people can use an App one device..so one to many or many to one, but not many to many....

  • How do I make payment for Creative Cloud when monthly payment declined?

    How do I make payment for Creative Cloud when monthly payment declined?

    In this forum, we can't help with purchasing issues.
    My suggestion is to call that phone number.

  • Is it safe to use the same passphrase for multiple disks?

    I have a very elaborate passphrase using letters, digits and punctuation marks that I'm fairly confident nobody will ever be able to crack even if they have the seed and hash and a couple of million GPU's to throw at it.
    However, from a cryptography course I know that if two "messages" have been encrypted using the same "pad", you will be able to extract information by or-ing the messages, for example.
    Now I'm sure that the encryption scheme in OS X is much more sophisticated, but just to be sure:
    If I encrypt two disks using the same passphrase, and somebody steals both disks, would that make it easier for them to crack it? Is there some way they could exploit the fact that the passphrases are the same? Could they find data by combining the data on the two disks?
    I assume it's not possible, but just checking.

    Short answer: don't worry.  AES-256 is currently a secure scheme.
    Long answer: If your reference to a "pad" is to the reuse of a so-called one-time pad scheme, that's a very different cryptographic system than what's typically used now, and the attacks against a reused one-time pad are different sorts of cryptographic attacks.
    If you're using a one-time pad for a whole disk, you either need a ginormous one-time pad that's itself as big as the disk, or you'll get data that's repeated; a typical disk has great wads of zeros and ranges of blocks of zeros, after all.
    In modern systems, it's quite common for the same private key to be used for thousands and even millions of messages, when asymmetric encryption is used.
    Now I don't know which encryption algorithm is currently being used to encrypt DMGs, but I'd suspect it's still AES-grade encryption.
    AES works very hard at making the results of the encryption process as close to random as it can manage, which reduces the exposure to frequency-based attacks.  (This is also why effectively-encrypted data can't be compressed; there should be no repeats.)  This randomness is part of the basis for the attacks against the one-time pad; that the output of the pad - the encrypted data - if the one-time pad is re-used - isn't really random.  Particularly if you know (or can guess) some of the cleartext, too.  Or those big blocks of zeros.
    Now the other central discussion here is around how much somebody would pay to decrypt your data.  Because if your data is worth enough to the attacker, then there can potentially be other ways to attempt to gain access, even if AES itself isn't breached. 
    If you're storing some very valuable data (worthy of attacks), then receiving guidance from some yutz like me in an Apple forum probably isn't in your best interest.  But if you're not storing miltary-grade, or financial secrets, or identifying medical data, or credit card data, then AES-256 will do nicely.  And even if you are, AES-256 might be enough.  But check with the crypto and legal folks for details, or with your site security officer.
    And as was correctly noted in an earlier reply, if a password is used once, and once known, an attacker will try it against other systems and servers.  This being another common form of re-use.
    If you're interested here, then get one or two of Bruce Schneier's books on crypto.  If you don't already have them.

  • Multiple records to be created for multiple values in a field

    I am having a requirement in which i will have multiple values for a field.The values are seperated by commas.I need a record to be created for each value.(eg: if there are 4 values i need 4 records to be created). Any one please help me out.

    Hi !
    You can try solve it at File Content Conversion level, by specifing your value separator as the endSeparator.
    Or you can import all values as a unique record and then solve it via graphical mapping, using an advanced UDF, where you receive N records, then inside the UDF, you split the values via its separator and create new array values (one for each input value after splitting) and output that array to be used to fill destination structure.
    Regards,
    Matias.

  • Using One Property Node For Multiple Controls/I​ndicators

    Question for all you LabVIEW gurus.  Is there a way to create 1 property node that is used for multiple indicators?  For example, if I wanted to display the same value on 10 different indicators using the property node - value function do I need to create 10 separate property node-value instances for each indicator?  Or is there a way to tie all of those indicators to only one property node?
    Thanks!
    Solved!
    Go to Solution.

    Hi hobby1
    You could create a cluster, and inside in it put all the indicators, see the image attached
    Attachments:
    capture1.JPG ‏14 KB

Maybe you are looking for

  • Process Controlled Workflow - Process Schemas

    Hi I am configuring Process Controlled Workflow in SRM 7.0 for shopping carts. As per one of the guidance documents, I activated the BC Sets for the shopping cart in order to pull in all the component parts. As none of the three standard Process Sche

  • Full screen view background color Pages 5.5.1

    Is there a way to change the background color in Full Screen View back to black in Pages 5.5.1? I do not prefer the new default grey and would like to change it. I found a similar question in the forum for an earlier version of pages the pointed to a

  • Firefox didn't remember my tabs upon shutting down

    I downloaded the newest firefox when prompted. Shut down my computer, but firefox did not ask me to save my tabs, like it used to. Got home, turned on the computer...no saved tabs. Annoying! I want my old ff back! I don't like the new layout, either.

  • T Code for doing mass output for Sales order like VL71 for Delivery

    Hi Can anyone let me know what is the t code for the sales orders for which despatch time was set as "3- using own transaction" Muthu

  • AMD Radeon HDMI-screen is black

    My computer has a dual monitor setup. Until a few days ago, I managed to use Arch Linux with AMD Catalyst so I could have 2 monitors, but due to an update of Gnome, my Xorg crashed. I changed to the xf86-video drivers. My screen connected to VGA work