Setting valueAxis for makit chart in XML view

Dear Experts,
I am trying to set a valueAxis limit on value 0,5.
My XML looks like this. I couldnt add valueAxis in ma:Chart successfully.
<ma:Chart id="idChart" height="100%" width="100%" type="Line"
  rows="{/entries}" showRangeSelector="true" showTableView="false"
  showTotalValue="false">
  <ma:category>
  <ma:Category column="date" displayName="Date" />
  </ma:category>
  <ma:values>
  <ma:Value expression="value" displayName="Value" type="number"/>
  </ma:values>
  <ma:rows>
  <ma:Row>
  <ma:cells>
  <ma:Column name="date" value="{date}" />
  <ma:Column name="value" value="{value}"
  type="number" />
  </ma:cells>
  </ma:Row>
  </ma:rows>
  <ma:columns>
  <ma:Column name="date" value="{date}" />
  <ma:Column name="value" value="{value}" type="number"  />
  </ma:columns>
  </ma:Chart>
The error was: Uncaught Error: valueAxis property must be of type sap.makit.ValueAxis
Basically I cant create a new instance of ValueAxis in XML.
I tried in the controller js something like this:
var oChart = this.getView().byId("idChart");
oChart.valueAxis =  new sap.makit.ValueAxis({min : "0.5"});
This also didnt work.
So I  have two questions:
1.) How can I set valueAxis in XML view staticly?
2.) How can I set valueAxis in controller dynamicly according to the values I get from my json service.
Thanks for any help!
Regards,
Koray

Try doing,
oChart.setValueAxis(new sap.makit.ValueAxis({min : "0.5"}));

Similar Messages

  • Сolors, themes for MAKit charts, event handling (iOS)

    Hello Everyone,
    I am checking out MAKit library for iOS and wondering if it is possible to:
    1. Change the colors of charts (bars, pie sectors etc.)
    2. Change theme, e.g. background color, put gradient color or image on background of charts
    3. Add custom buttons to charts, change labels on standard buttons (need to translate them to russian)
    4. When I click anywhere on a single chart inside a dashboard, that chart gets enlarged. I don't like standard enlarging arrows in upper right corner.
    Anyone knows how to do that?
    Thanks for your help.

  • In XML view, how to set sap.ui.core.CSSSize array for property "widths" of MatrixLayout Control?

    As SAPUI5 prefer XML views, I'm rewriting JS view into XML views.
    When I translate the statements below, I can not set sap.ui.core.CSSSize array for property "widths" of Control MatrixLayout.
    JS version:
    var oLayout = new sap.ui.commons.layout.MatrixLayout({
        id : 'matrix3'
        columns : 3,
        width : '600px',
        widths : ['100px', '200px', '300px']
    XML version:
    <l:MatrixLayout
        id="matrix3"
        columns="3"
        width="600px"
        widths="['100px', '200px', '300px']">
    <l:MatrixLayout>
    The error says: Uncaught Error: "[100px, 200px, 300px]" is of type object, expected sap.ui.core.CSSSize[] for property "widths" of Element sap.ui.commons.layout.MatrixLayout.
    Same problem with property `backgroundDesign` of MatrixLayoutCell, I can only use a workaround to use String "Fill1" not the Class "sap.ui.commons.layout.BackgroundDesign.Fill1".
    When we meet a property which need a Class object as value, we can not set it in String Format for XML views. That's a pity or I did not find the right way to set NON-String values as property for XML Controls.

    Hi,
    any settings that are not possible in the XML, need to be set in the controller instead.
    Using the string value of an enum is fine, though.
    Regards
    Andreas

  • The current xml is invalid upon using external charts in narrative view

    Hi,
    I always get following message when embedding amcharts or google charts using narrative view. Once saved, it is not possible to any more to edit the narrative view. However, the report works fine, the chart is shown, but not editable.
    cheers,
    Mark
         Error Displaying Results
    The current xml is invalid with the following errors: Bad xml instance! <?xml version="1.0"?> <saw:report xmlns:saw="com.siebel.analytics.web/report/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlVersion="200810080"><saw:criteria xsi:type="saw:simpleCriteria" subjectArea="&quot;QC4Agility&quot;" withinHierarchy="true"><saw:columns><saw:column xsi:type="saw:regularColumn" columnID="c5f655b89c322bce7"><saw:columnFormula><sawx:expr xsi:type="sawx:sqlExpression">&quot;Dim - RUN&quot;.&quot;RUN Status&quot;</sawx:expr></saw:columnFormula></saw:column><saw:column xsi:type="saw:regularColumn" columnID="c9de76acdb49ee65f"><saw:columnFormula><sawx:expr xsi:type="sawx:sqlExpression">&quot;Fact - req_test_run&quot;.&quot;# REQs&quot;</sawx:expr></saw:columnFormula></saw:column><saw:column xsi:type="saw:regularColumn" columnID="c9fe9f1713d290812"><saw:columnFormula><sawx:expr xsi:type="sawx:sqlExpression">&quot;Fact - req_test_run&quot;.&quot;# TESTs&quot;</sawx:expr></saw:columnFormula></saw:column></saw:columns><saw:filter><sawx:expr xsi:type="sawx:logical" op="and"><sawx:expr xsi:type="sawx:comparison" op="equal"><sawx:expr xsi:type="sawx:sqlExpression">&quot;Dim - REQ&quot;.&quot;REQ Target release&quot;</sawx:expr><sawx:expr xsi:type="xsd:string">1.0</sawx:expr></sawx:expr><sawx:expr xsi:type="sawx:comparison" op="lessOrEqual"><sawx:expr xsi:type="sawx:sqlExpression">&quot;Dim - REQ&quot;.&quot;REQ nCycle&quot;</sawx:expr><sawx:expr xsi:type="sawx:variable" op="server">CurrentCycle</sawx:expr></sawx:expr><sawx:expr xsi:type="sawx:comparison" op="notNull"><sawx:expr xsi:type="sawx:sqlExpression">&quot;Dim - RUN&quot;.&quot;RUN Status&quot;</sawx:expr></sawx:expr></sawx:expr></saw:filter></saw:criteria><saw:views currentView="0"><saw:view xsi:type="saw:compoundView" name="compoundView!1"><saw:cvTable><saw:cvRow><saw:cvCell viewName="titleView!1"><saw:displayFormat><saw:formatSpec/></saw:displayFormat></saw:cvCell></saw:cvRow><saw:cvRow><saw:cvCell viewName="tableView!1"><saw:displayFormat><saw:formatSpec/></saw:displayFormat></saw:cvCell></saw:cvRow><saw:cvRow><saw:cvCell viewName="dvtchart!1"/></saw:cvRow><saw:cvRow><saw:cvCell viewName="narrativeView!1"/></saw:cvRow></saw:cvTable></saw:view><saw:view xsi:type="saw:titleView" name="titleView!1"/><saw:view xsi:type="saw:tableView" name="tableView!1"><saw:edges><saw:edge axis="page" showColumnHeader="true"/><saw:edge axis="section"/><saw:edge axis="row" showColumnHeader="true"><saw:edgeLayers><saw:edgeLayer type="column" columnID="c5f655b89c322bce7"/><saw:edgeLayer type="column" columnID="c9de76acdb49ee65f"/><saw:edgeLayer type="column" columnID="c9fe9f1713d290812"/></saw:edgeLayers></saw:edge><saw:edge axis="column"/></saw:edges></saw:view><saw:view xsi:type="saw:dvtchart" name="dvtchart!1"><saw:display type="pie" subtype="default" renderFormat="flash" mode="online" xAxisLiveScrolling="false" yAxisLiveScrolling="false" clientEventEnabled="false" animateOnDisplay="true"><saw:style barStyle="default" lineStyle="default" scatterStyle="default" fillStyle="default" bubblePercentSize="100" effect="2d"/></saw:display><saw:canvasFormat height="330" width="640" showGradient="true"><saw:dataLabels display="always" label="nameValue" position="below" transparentBackground="true" valueAs="default" abbreviation="default"><saw:textFormat fontSize="14"/><saw:dataFormat xsi:type="saw:number" commas="false" negativeType="minus" minDigits="0" maxDigits="0"/></saw:dataLabels><saw:gridlines default="true"><saw:horizontal><saw:major visible="false"/><saw:minor visible="false"/></saw:horizontal><saw:vertical><saw:major visible="false"/><saw:minor visible="false"/></saw:vertical></saw:gridlines><saw:title mode="auto"><saw:caption/></saw:title></saw:canvasFormat><saw:selections><saw:categories><saw:category><saw:columnRef columnID="c5f655b89c322bce7"/></saw:category></saw:categories><saw:measures showMeasureLabelsOnCategory="false"><saw:column measureType="pie"><saw:columnRef columnID="c9de76acdb49ee65f"/></saw:column></saw:measures><saw:seriesGenerators><saw:seriesGenerator/><saw:measureLabels/></saw:seriesGenerators></saw:selections><saw:legendFormat position="none" transparentFill="true"><saw:textFormat/></saw:legendFormat><saw:seriesFormats><saw:seriesFormatGroup name="pie"><saw:seriesFormatRule><saw:seriesCondition columnID="c5f655b89c322bce7" position="0"><saw:condition><sawx:expr xsi:type="sawx:comparison" op="equal"><saw:columnRef columnID="c5f655b89c322bce7"/><sawx:expr xsi:type="xsd:string">Failed</sawx:expr></sawx:expr></saw:condition></saw:seriesCondition><saw:visualFormats><saw:visualFormat color="#FF0000"/></saw:visualFormats></saw:seriesFormatRule><saw:seriesFormatRule><saw:seriesCondition columnID="c5f655b89c322bce7" position="1"><saw:condition><sawx:expr xsi:type="sawx:comparison" op="equal"><saw:columnRef columnID="c5f655b89c322bce7"/><sawx:expr xsi:type="xsd:string">Passed</sawx:expr></sawx:expr></saw:condition></saw:seriesCondition><saw:visualFormats><saw:visualFormat color="#B0C060"/></saw:visualFormats></saw:seriesFormatRule></saw:seriesFormatGroup></saw:seriesFormats></saw:view><saw:view xsi:type="saw:narrativeView" name="narrativeView!1"><saw:prefix><saw:caption fmt="html"><saw:text/></saw:caption></saw:prefix></saw:view></saw:views><parsererror xmlns="http://www.w3.org/1999/xhtml" style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black"><h3>This page contains the following errors:</h3><div style="font-family:monospace;font-size:12px">error on line 6 at column 430: Sequence &#39;]]&gt;&#39; not allowed in content </div><h3>Below is a rendering of the page up to the first error.</h3></parsererror></saw:report> Line:2, Col:5482, Unknown element 'parsererror' Line:2, Col:5482, Attribute 'style' is not declared for element 'parsererror' Line:3, Col:98, Element 'parsererror' is not valid for content model: '((criteria,views,prompts,listOptions),segmentOptions)'
    Error Details
    Error Codes: EIRWWH9E
    Location: saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool, saw.threadpool, saw.threads
    narrative view used for test:
    Prefix
    <script type="text/javascript" src="http://extra.amcharts.com/public/swfobject.js"></script>
    <div id="amcharts_1308229514469">You need to upgrade your Flash Player</div>
    <script type="text/javascript">
         var so = new SWFObject("http://extra.amcharts.com/public/ampie.swf", "ampie", "500", "400", "8", "#FFFFFF");
         so.addVariable("path", "ampie/");
         so.addVariable("chart_settings", encodeURIComponent("<settings><precision>0</precision><background><alpha>100</alpha><border_alpha>20</border_alpha></background><legend><align>center</align></legend><pie><y>50%</y><start_angle>0</start_angle><outline_color>FF0000</outline_color></pie><data_labels><show><![CDATA[<b>{title}, {percents}%</b> ({value})]]></show><max_width>150</max_width></data_labels><labels><label lid='0'><text>DIR</text><x>10</x><text_color>000000</text_color><text_size>28</text_size><align>center</align></label><label lid='1'><text>S&amp;E</text><y>220</y><text_color>FFFFFF</text_color><text_size>28</text_size><align>center</align></label></labels></settings>"));
         so.addVariable("chart_data", encodeURIComponent("<pie>
    *Narrative*
    <slice title='United States'>19544</slice>
    *Postfix*
    </pie>"));
         so.write("amcharts_1308229514469");
    </script>

    I think it's a problem with your CDATA section. Take that bit out and test again to prove whether it's the cause.
    Paul

  • How do I set up my airport express to make a connection with my Hp? I already have it set up for my mac laptop just not sure how to set it up so that theres also a connection with my Hp

    how do I set up my airport to make a connection with my Hp? I already have it set up for my mac laptop just not sure how to set it up so that theres also a connection with my Hp

    I set up my new HP Descjet 3054A . I had a problem becouse Apple give me CD as a driver. The thing was that CD wasn good for this printer becouse it was old software:) I had to go to Apple store so the specialist had to download me he wright driver. Becouse I didnt wannet to screw this up . When he downloaded driver I fired it up at house and thingworks perfect. The thing is when you download all the software from HP side . Then you have to connect your MAC to printer via USB . Fallow the instructions it should works. Worked for me. Good Luck!

  • ABAP transformation to XML for sap chart engine with internal table

    Hello.
    I am new to the SAP chart engine, XML and transformations so please be patient with me from an ABAP-program I am trying to call a Z-transformation and attach an internal table with two columns. In the ST program I want to loop through the table and for each row insert the two values from the table in the XML.
    In an ABAP-program I have an internal table containing datacoordinates for a scattered chart.
    The table looks like this:
    DATA: BEGIN OF coordinate,
                x_value TYPE f,
                y_value TYPE f,
               END OF coordinate,
               polygon_data LIKE STANDARD TABLE OF coordinate with header line.
    As a prototype I just add a few coordinates like this:
    polygon_data-x_value = '700'.
        polygon_data-y_value = '8'.
        APPEND polygon_data.
        polygon_data-x_value = '1400'.
        polygon_data-y_value = '3'.
        APPEND polygon_data.
        polygon_data-x_value = '1400'.
        polygon_data-y_value = '10'.
        APPEND polygon_data.
        polygon_data-x_value = '700'.
        polygon_data-y_value = '10'.
        APPEND polygon_data.
        polygon_data-x_value = '700'.
        polygon_data-y_value = '3'.
        APPEND polygon_data.
    I have created a Z-transformation and I call it like this (I also have a separate transformation for all the customizing generated with SAP chart designer but that one works fine):
    DATA: data_xml TYPE xstring.
    CALL TRANSFORMATION ztest_ce_tables2xml
          SOURCE polygon_data = polygon_data
          RESULT XML data_xml.
    Since I am trying to create a scattered chart I need to insert an X and Y value for each coordinate.In the manual SAP Chart engine - XML format description it looks like this:
    <ChartData>
    <Series>
    <Point>
    <Value type="x">1</Value>
    <Value type="y">1</Value>
    </Point>
    <Point>
    <Value type="x">2</Value>
    <Value type="y">2</Value>
    </Point>
    My ST-program that I cannot get to work looks like below. How can I loop through my internal table and get the X and thy Y value for each row in my internal table?
    BR Tommy (Sweden)
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
    <tt:root name="POLYGON_DATA"/>
    <tt:template>
    <ChartData>
    <Series>
    <tt:loop ref=".POLYGON_DATA">
       <Point>
         <Value type="x"><tt:copy ref=".POLYGON_DATA.X_VALUE"/></Value>
         <Value type="y"><tt:copy ref=".POLYGON_DATA.Y_VALUE"/></Value>
       </Point>
       </tt:loop>
    </Series>
    </ChartData>
    </tt:template>
    </tt:transform>

    Hello again.
    I found the solution and would like to share it with the forum, maybe it could help someone.
    My first error was in the call transformation statement:
    CALL TRANSFORMATION ztest_ce_tables2xml
          SOURCE polygon_data = polygon_data [] <----
    Do not forget these
          RESULT XML data_xml.
    I also had an error in the ST program, it should look like this:
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
    <tt:root name="POLYGON_DATA"/>
    <tt:template>
    <ChartData>
    <Series>
    <tt:loop ref=".POLYGON_DATA">
       <Point>
         <Value type="x"><tt:value ref="$ref.X_VALUE"/></Value>
         <Value type="y"><tt:value ref="$ref.Y_VALUE"/></Value>
       </Point>
       </tt:loop>
    </Series>
    </ChartData>
    </tt:template>
    </tt:transform>

  • In Initial View, can you set defaults for Navigation tab, Page layout, and Magnification?

    Adobe Acrobat 9 Pro V9.4.0
    Win7 Pro x64
    Problem: In Initial View, can you set defaults for Navigation tab, Page layout, and Magnification?
    Every time Acrobat scans a document, I have to go to Initial View to set Navigation tab, Page layout, and Magnification. It does not remember the settings I last used.
    Thanks in advance.

    See my response to this post

  • Data Modeling for controls using XML views(SAPUI5)

    Hello ,
    I am trying to create Table control using XML view and binding data to it through controller onInit method.
    XML View Code is as follows :
    <core:View xmlns="sap.m" xmlns:l="sap.ui.layout" xmlns:core="sap.ui.core">
        <l:VerticalLayout width="100%">
            <l:content>
                <Text id="description" class="marginAll" />
                <Table id="idProductsTable" items="{       
                    path:'/businessData'
                }">
                    <headerToolbar>
                        <Toolbar>
                            <Label text="Products"></Label>
                        </Toolbar>
                    </headerToolbar>
                    <columns>
                        <Column>
                            <Label text="Product" />
                        </Column>
                        <Column>
                            <Label text="Supplier" />
                        </Column>
                        <Column>
                            <Label text="Dimensions" />
                        </Column>
                    </columns>
                    <items>
                        <ColumnListItem>
                            <cells>
                                <ObjectIdentifier title="{COUNTRY}" text="{COUNTRY}" />
                            </cells>
                            <Text text="{REGION}"></Text>
                            <Text text="{CITY}"></Text>
                        </ColumnListItem>
                    </items>
                </Table>
            </l:content>
        </l:VerticalLayout>
    </core:View>
    Controller onInit method Code is as follows :
    var oData = {
                businessData : [ {
                    'COUNTRY' : "Canada",
                    'CITY' : "Toronto",
                    'REGION' : "US",
                    'LANGUAGE' : "English"
                    'COUNTRY' : "China",
                    'CITY' : "Bejeing",
                    'REGION' : "Ashia",
                    'LANGUAGE' : "Chinese"
            var demoJSONModel = new sap.ui.model.json.JSONModel();
            demoJSONModel.setData(oData);
            sap.ui.getCore().getElementById("idProductsTable").setModel(
                    demoJSONModel);
    Same thing when i tried with JS views , it worked however through XML view , I am getting empty table.
    Is the data modeling correct for XML views?
    Thanks,
    Mahesh.

    I've got it ! The reason for that is you bind items as below,
         <Table id="idProductsTable" items="{    
                    path:'/businessData'
                }">
    This pattern is followed if you wanna add a formatter/sorter/grouping.
    As you don't do any of those you can bind items as below &  it doesn't require  data-sap-ui-xx-bindingSyntax="complex".
    <Table id="idProductsTable" items="{/businessData}">

  • How to set encoding for xml Marshaller?

    Hi,
    I am using SAPXMLToolkit. And I use XMLMarshaller to convert from xml to java classes (jaxb classes). Now when I get some characters like ü, the marshaller gives an error
    com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 69(:main:, row:1, col:323)
         at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:207)
         at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:205)
         at com.sap.engine.lib.xml.parser.helpers.AdvancedXMLStreamReader.read(AdvancedXMLStreamReader.java:152)
         at com.sap.engine.lib.xml.parser.XMLParser.scanCharData(XMLParser.java:1896)
         at com.sap.engine.lib.xml.parser.tokenizer.XMLTokenReaderImpl.next(XMLTokenReaderImpl.java:190)
    How do I solve this?? How do I set encoding for the marshaller?
    Regards,
    Guru

    Hi ogre,
    To set the encoding scheme for an XML document, you can use the createProcessingInstruction. Our CVIXML instrument driver (which
    is basically and user-friendly wrapper made around the MSXML interface) uses
    this method to specify the version of the XML document. So, what you could do
    is simply modify our existing CVIXML instrument driver to include the encoding.
    It's actually quite simple to do this.
    First off, open up the cvixml.c file
    located in the <CVI>\toolslib\toolbox directory in CVI. Then change the
    value of the constant XML_PROC_INSTR_DATA
    (located on line 42) from "version=\"1.0\"" to "version=\"1.0\"
    encoding=\"UTF-8\"". The save your source file and
    select Options >> Create Object file. This object file
    (cvixml.obj) is attached to your cvixml.fp function panel. 
    To test this out, you could simply use some code like
    CVIXMLNewDocument ("RootElement", &xmlDoc);
    CVIXMLSaveDocument (xmlDoc, 0, "C:\\Test.xml");
    Then the Test.xml document should say
    <?xml version="1.0" encoding="UTF-8"?>
    <RootElement/>
    Hope this helps!
    Best Regards,
    Jonathan N.
    National Instruments

  • Does anyone know if there is a setting for calendar events in notification view

    It feels like that the notification view for for "at-a-glance" calendar views have regressed from ios6 to ios7 in terms of usability and convenience.
    The notification center ALWAYS shows the next 6 hours of your calendar, even when it is empty and there is no way to preview individual events/appointments beyond the 6 hours.  This is a waste of space and scrolling.  I know how many hours there are in a day and the empty calendar really isn't useful when I have other appointments for that day that would be much more useful to preview. 
    I just don't understand why Apple thought it would be a good idea to take up the entire "Today" screen with six hours of empty calendar entries ALL THE TIME.   With ios6 I could quickly get a glimpse of all the appointments I have for tomorrow all in one place from the notification center, before I go to bed.  With ios7 I have to actually open the calendar app.  This is a step backwards.
    Things like this really makes the ios7 release seem premature and unfinished.  Minor UI issues I can live with, but this is actually making my smartphone dumber.
    For example: http://thingswrongwithios7.wordpress.com/2013/06/13/calendar-app/#attachment_7
    And also All day appointments are no longer visible from the notification drop down.
    See: http://forums.macrumors.com/showthread.php?t=1594792

    I had the same issue last year.  it turned out to be my Bluetooth earpiece reached the end of its battery life.
    When I got a replacement the problem went away.

  • Code completion for XML Views

    Hi,
    Can anybody confirm if we have the code completion feature available for XML views? I am using eclipse kepler with most updated UI5 plugins.
    Thanks
    Jayant

    Hi Jayant,
    You can try the following:
    -Create and open an XML View in Eclipse (Kepler, or Indigo)
    -Type the name of the UI5 control, e.g. List and click Ctrl-Space
    -From the list of provided templates, select the name of the UI5 control you want to include
    -Supply attributes you need, remove the unnecessary attributes and format the text (Ctrl-Shift-F).
    To check, if your Eclipse UI5 addon has XML templates, you can go to Window->Preferences->search for "templates"->scroll down to XML>XML Files>Editor>Templates and you will find all available XML templates for UI5 controls.
    hope it helps,
    Vlad

  • How to set the (specific) color for a Chart Series in a Flash Diagramm

    Hello all,
    I wonder how I can set the color (of a bar) for a Chart Series in a Flash Diagramm.
    So far I found now set-screw for this.
    Can someone give me a hint please.
    Thanks in advance.
    Andre

    Hi,
    On the Chart Attributes page for the region, change the "Color Scheme" setting to Custom. Then, in the "Custom Colors" setting, enter the colours you want for all series, separated by a comma. For example:
    red,yellow,greenAndy

  • 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

  • Set the horizontal scroll bar for the OOTb document library view

    hi all,
     Am facing an issue in my sp portal.We have designed and developed the portal with OOTB document library views for site columns also. Going to enable the doc lib view. but  we have some  35 columns in eeacha nd every document
    library within our sub site. But if an end user wants to see the last column then he needs to scroll. but, since  then my master page has fixed width, the top corner will be seen as blank. would like to know how can we set horizontal scrolling
    in this doc lib view .
    Das

    Hi,
    According to your description, my understanding is that you want to set the horizontal scroll bar for the document library when the last column postion exceed the fixed width.
    I suggest you can try to use Jquery to set the width attribute of the menu bar dynamically if the document library width exceeded. You can add the Jquery or CSS style using SharePoint Designer under the PlaceHolderMain tag of document
    library page. Also, you need to find the div id in your environment using Internet Explorer.
    More information:
    http://sharepointpromag.com/sharepoint-development/sharepoint-branding-101-branding-master-pages
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How do i get fcp set up to make multi clip cuts buy just clicking on the boxes in the viewer

    how do i get fcp set up to make multi clip cuts buy just clicking on the boxes in the viewer

    This forum is all about FCP X. You should ask your question in the FInal Cut Pro Studio forum.

Maybe you are looking for