Formatting dvt:linegraph data points

My graph displays the value of the data point when you hover over the line. The date displays fine, but the value has too many decimal points.
For example
Group Count : 3.000
or
Group Count : 0.000
Since this value is whole numbers only, this doesn't make sense. I've set the UI hints in the View object for that column to
GipCount_FMT_FORMATTER=oracle.jbo.format.DefaultNumberFormatter
GipCount_FMT_FORMAT=\#\#\#\#but it is still displaying that. Is there a different format mask I should use to hide the decimals? or a setting I have not found to control the output on the data points?
Thanks
(this is not a duplicate post, I considered asking this with my other question but figured it was different enough to warrant its own)

hi ,
any help??...:(

Similar Messages

  • Formatting dvt:linegraph axes

    I'm having a little trouble fine tuning the formatting on my dvt:linegraph
    I would like the y axis to only display integer values, but the default major increment lines are being set every .5
    In other words, the graph data range is from 0 to 5, and the lines are set at .5, 1, 1.5, etc. My values are only in whole numbers, so this doesn't make sense.
    However, if I change the y1 tick label to show
                            <dvt:y1TickLabel autoPrecision="off">
                              <af:convertNumber type="number" maxFractionDigits="0"/>
                            </dvt:y1TickLabel>then it only modifies the value by rounding it, leaving me with 1, 2, 2, 3, 4, 4, etc
    If I specify
                            <dvt:y1Axis minorIncrement="1.0" majorIncrement="1.0"/>It comes out great, but I hate hard coding the major increment like that when the graph has the potential for a greater range. Something like 5 - 30 isn't unreasonable, and a major increment of 1 would make that graph pretty crowded.
    Does anyone have some ideas on how I can achieve this look using more generic settings?
    Thanks

    hi ,
    any help??...:(

  • DVT X Axis Date Formatting using tabular data

    Hi,
    I have a curious question about the <dvt:attributeFormat>.
    I wanted to format my bar graph x-axis with locale sensitive date formatting.
    I saw this attribute <dvt:attributeFormat> which I think is the best tool for the job.
    <dvt:barGraph id="wsssudg1" subType="BAR_VERT_CLUST" tabularData="#{myBean.tabularData}">
              <dvt:a t t r i b u t e F o r m a t  >
                   <af:convertDateTime locale="#{myBean.locale}"/>
              </dvt:a t t r i b u t e F o r m a t  >       
    </dvt:barGraph>
    My only concern is this.  I am not using page binding in building my graph data but using tabularData property instead.
    I am passing a java.util.Date object also from my getTabularData method
    public class MyBean{
        public List getTabularData(){
            /*More code her*/
            return list;
    According to the java docs here http://docs.oracle.com/cd/E24382_01/apirefs.1112/e17490/tagdoc/dvt_attributeFormat.html
    The name of the categorical attribute is the name of the attribute/layer that was added to the Graph DataModel. The Graph model can be set declaratively by updating the pagedef. Here is the associated view pagedef for the above graph:
    <graph IterBinding="EmpView1Iterator" id="EmpView1"
          xmlns="http://xmlns.oracle.com/adfm/dvt" type="BAR_VERT_CLUST">
        <graphDataMap leafOnly="true">
            <series>
              <data>
                <item value="Bonus"/>
              </data>
            </series>
            <groups>
              <item value="Hiredate"/>
            </groups>
        </graphDataMap>
    </graph
    >
    ..but since I am not using page binding then what name should I put there?
    Any DVT experts around?

    I tried different name but I cant find the correct attribute name.  Tried 'object', 'attribute 1' etc but it seems not correct.
    <dvt:barGraph id="wsssudg1" subType="BAR_VERT_CLUST" tabularData="#{myBean.tabularData}">
              <dvt:a t t r i b u t e F o r m a t  >
                   <af:convertDateTime locale="#{myBean.locale}"/>
              </dvt:a t t r i b u t e F o r m a t  >       
    </dvt:barGraph>
    Does this mean that this tag only works when you are using page binding?
    If you are using tabulardata in managing your data then does it mean that you cannot use this tag?
    Then how do you format DVT graph data that uses tabularData if you do not know the attribute name?
    The javadoc tag reference does not mention anything about this.
    Anyone has experience in dealing with this scenario?
    Use case:
    How do you format date attribute in a locale sensitive manner when your graph is using custom list in the tabulardata tag property of your graph component.
    Thanks

  • Plotting of graph with more than 4000 data points in Excel

    Hi All,
    I am fairly new to labview world. I am trying to plot out line graphs of the results from my program into Excel worksheet. I have huge set of data points(10000) stored in each of 10 different worksheets in MS Excel workbook. I am trying to compile results into last sheet as graphical representation of all the various dataset into 10 different graphs.
    My problem is that I am getting error because MS Graph does not allow me to plot more than 4000 rows or datapoints. Is there better and cleaner way of programming this? Or if some one can provide an example of how to handle such case. I'll appreciate any help.
    My goal is to able to plot one set of data 1st then I will be able to run through various worksheets to compile into standalone results.
     ERROR MESSAGE: "Report Generation Toolkit: Graphs you create or edit in Microsoft Graph cannot contain more than 4,000 rows or columns, including row and column headers. "
    Also for example if we run Line Graph example and change the # of data points from 100 to 4000, we get same message.
    Error -41114 occurred at NI_ReportGenerationToolkit.lvlib:Excel_Insert_Chart.vi -> NI_Excel.lvclass:Excel Insert Graph.vi -> Line Graph (Excel).vi
    Thanks,
    Saurabh

    Hi Dennis,
    I am collecting waveform data from oscilloscope using labview in both data & graph format. So my program collects data for a particular operating condition & then saves the data on a worksheet. After it loads new operating condition & goes over same cycle. I have to save all the data points in excel for different use cases, which I am saving in different worksheet for each specific operating condition.
    Since I already have data saved in excel at the end of test, I am trying plot each use case in the same report for study & presentaion after tests are finished. I have not been able to do so. I read the post which you have mentioned, seems like newer excel or labview version have same issue. I am using LV 9.0
    I will try using decimation but if you have any better way of handling this problem, I'll appreciate if you can share that.
    Thanks for your help.

  • How to delete the Data Points label with a crosstab layout

    Hi, just a question.
    I created a report which uses a crosstab layout; so...I have the Company Name on the left, Status Code above and the Count(tickets) as Data Points.
    As soon as I put the Count(tickets) inside the report, the label "Data Points: Incident Id Count appears above just at the bottom of the Status Code
    Is there a way to avoid this tedious label ?
    As workaround, I changed the Data Points' format heading (text and background) in such a way to see only a Grey space...but this is not so useful (from the customer side...)
    I also looked for inside the crosstab layout properties...but I didn't found nothing.....
    Any help will be appreciate
    Alex

    Well, I think you are out of luck. You are basically saying you want to control when you have a column heading and when you don't want to have a column heading. Most of us users do want column headings in our reports. In fact I have a hard time trying to figure out why you don't want a column heading. How are the report users going to know what the numbers in the column mean if you don't have a heading on the column? Maybe the initial users of the report know, but what happens when they leave and someone else takes over their duties? I would suggest putting in an enhancement request for Discoverer to give you the option to not display a column heading, if you really want something like this. This needs to be at the workbook level, I am thinking.
    John Dickey

  • How can I convert 400 data points from a spreadsheet file to an array?

    The spreadsheet file contains over 5000 data points (in one column) of which I only want the first 400 and want to convert them to an array in Labview. I tried to use the 'readfromspreadsheet' vi but it wasn't much help. Please tell me how i should approach this problem and what vi's to use.

    I attach a model vi that you can experiment with. You will need to know the formatting of the data in your file, from there -plus the delimiter- you'll be able to estimate how many characters makes the first 400 data point. It's possible to develop a more robust vi to do this, in the mean time, the attached vi can quickly give some answer.
    Attachments:
    model.vi ‏28 KB

  • Using Word Easy Table Under Report Generation takes long time to add data points to table and generate report

    Hi All,
    We used report generation tool kit to generate the report on word and with other API 's under it,we get good reports .
    But when the data points are more (> 100 on all channels) it take a long time  to write all data and create a table in the word and generate report.
    Any sugegstions how to  make this happen in some seconds .
    Please assist.

    Well, I just tried my suggestion.  I simulated a 24-channel data producer (I actually generated 25 numbers -- the first number was the row number, followed by 24 random numbers) and generated 100 of these for a total of 2500 double-precision values.  I then saved this table to Excel and closed the file.  I then opened Word (all using RGT), wrote a single text line "Text with Excel", inserted the previously-created "Excel Object", and saved and closed Word.
    First, it worked (sort of).  The Table in Word started on a new page, and was in a very tiny font (possibly trying to fit 25 columns on a page?  I didn't inspect it very carefully).  This is probably "too much data" to really try to write the whole table, unless you format it for, say, 3 significant figures.
    Now, timing.  I ran this four times, two duplicate sets, one with Excel and Word in "normal" mode, one in "minimized".  To my surprise, this didn't make a lot of difference (minimized was less than 10% faster).  Here are the approximate times:
         Generate the data -- about 1 millisecond.
         Write the Excel Report -- about 1.5 seconds
         Write the Word Report -- about 10.5 seconds
    Seems to me this is way faster than trying to do this directly in Word.
    Bob Schor

  • Dvt:linegraph: series color problem.

    hi all,
    i am using dvt:lineGraph to show data of use account.now account are of two type saving and current.now on y axis i am grouping balance and account type and on x-axis transaction date.
    one user can have multiple saving or current account.
    problem is :
    when particular user hav say 2 current and 1 saving acc.now 3 line get plotted safely but with 3 different color .what i want is 2 current acc's lines sould hav same color.
    i tries using EL..but i am not able to find the account type for the particular series...
    anybody hav any suggestions...:(:(
    thanks
    Dhiraj

    hi ,
    any help??...:(

  • Data point sets for the interpolate 1D array vi

    The HELP info for Interpolate 1D Array states that you can input an array of numbers OR POINTS. What format would you input points, or "data point sets" as the help states?

    Hi etd,
    see the attached example. One works with an array and the other one with array of cluster, like described in the help. Hope it helps.
    Mike
    Attachments:
    Interpolation_Example_LV71.vi ‏35 KB

  • Chart - Reading series value but not from data point

    Hi All,
    I have a single line series on my chart, values on Y axis,
    hours along X. I have values for each hour of the day for 24 hours,
    e.g. 25 data points.
    First value is say 200 at 0000 UTC
    Next value is say 300 at 0100 UTC
    Next value is say 900 at 0200 UTC
    etc. etc.
    Now I have this chart loaded, on screen etc. How would I then
    find out what the value of the series is when the time (X axis) is
    0130 UTC, or 0115 UTC etc. etc.
    I.e. I want to be able to say at any time on the X axis, give
    me the Y value of the line on chart.
    Any pointers gratefully received.
    Cheers
    Ian

    I wouldn't go reading some external app's (proprietary-format) config file - you're just setting yourself up for a fragile app if that other app ever changes the layout of that file.

  • Discoverer Bar Chart Data Points

    Hi everyone,
    I am creating a Bar Chart in Discoverer with the data points to be displayed at the top. Does anyone know how to make the datapoints not display decimal places. I've tried to change the number format in the table and through administrator as well. The table does not display decimal places but the Bar Chart Data Points continue to do so. Any suggestions or thoughts to try would be welcomed. Thanks!

    If you edit the chart and choose X-Axis Scale I believe you can set the number of decimal place there. Should be able to set it to 0.

  • Line Graph repeats the starting data point at the end also

    Hi,
    We have a Line Graph as below. This graph is used to show the Salary changes of a person, over time.
    But this graph shows an additional non existing data point. Basically it shows the starting data point once again at the end of the other data points.
    The model VO for this graph, does not contain this additional data point record. But the graph repeats the starting data point at the end also.
    In the screen-shot you can see that, the graph has three data points. But the table has only two. The first data point in the graph is repeated as the last data point.
    Is this a Bug..?
    Or an issue with the usage of the DVT tags?
    The code is given below.
    Please advice.
    12 <dvt:graph id="lineGraph1" value="#{bindings.SalaryHistory.graphModel}"
    13 graphType="LINE_VERT_ABS"
    14 shortDesc="#{HcmEmploymentTopGenBundle}"
    15 markerDisplayed="true"
    16 continuousTimeAxisInterval="CTAI_DAY"
    17 contentDelivery="immediate" animationOnDisplay="AUTO"
    18 imageFormat="FLASH" stylePath="April"
    19 timeSelectorListener="#{backingBeanScope.AssignmentChangesAndSalaryBean.changeTime}"
    20 timeAxisType="TAT_MIXED_FREQUENCY" dynamicResize="DYNAMIC_SIZE"
    21 inlineStyle="height:40em;"
    22 binding="#{backingBeanScope.AssignmentChangesAndSalaryBean.asgSalaryGraph}">
    23 <dvt:background>
    24 <dvt:specialEffects/>
    25 </dvt:background>
    26 <dvt:graphPlotArea/>
    27 <dvt:seriesSet>
    28 <dvt:series/>
    29 </dvt:seriesSet>
    30
    31 <dvt:o1Axis scrolling="asNeeded"/>
    32 <dvt:y1Axis/>
    33 <!-- <dvt:legendArea automaticPlacement="AP_NEVER" rendered="false"/>-->
    34 <!-- <dvt:timeSelector mode="EXPLICIT"
    35 explicitStart="#{backingBeanScope.AssignmentChangesAndSalaryBean.timeSelectorStartDate}"
    36 explicitEnd="#{backingBeanScope.AssignmentChangesAndSalaryBean.timeSelectorEndDate}"
    37 id="ts34">
    38 <dvt:specialEffects>
    39 <dvt:gradientStopStyle/>
    40 </dvt:specialEffects>
    41 </dvt:timeSelector>-->
    42 <dvt:o1MajorTick/>
    43 <dvt:o1TickLabel/>
    44 <dvt:o1Title id="o1Title1">
    45 <dvt:graphFont id="graphFont1"/>
    46 </dvt:o1Title>
    47
    48 <dvt:attributeFormat id="af1" name="DateFrom">
    49 <af:convertDateTime pattern="#{applCorePrefs.dateFormatPattern}" />
    50 </dvt:attributeFormat>
    51
    52 <dvt:markerText>
    53 <dvt:y1Format>
    54 <af:convertNumber pattern="#{applCorePrefs.numberFormatPattern}"/>
    55 </dvt:y1Format>
    56 </dvt:markerText>
    57
    58
    59 </dvt:graph>

    If I understand your question, this from the Pages online help may give the answer:
    To mark line, area, and scatter charts with data point symbols:
    Select the entire chart. You can also select the chart series (the line or area shape) that you want to mark with data point symbols.
    Click Inspector in the toolbar, and then click the Chart Inspector button.
    Click Series (except for scatter charts).
    Choose a symbol from the Data Point Symbol pop-up menu.
    Choose one of the following options from the Symbol Fill pop-up menu:
    To fill the symbol with the same color as its outline, choose Use Stroke Color.
    To fill the symbol with a solid color, choose Color Fill, click the Fill color well, and pick a color.
    To fill the symbol with a gradient, choose Gradient Fill and use the gradient controls to set the colors and change the angle of the gradient.
    To fill the symbol with an image, choose Image Fill and select the image you want. You can also resize the image by choosing an option from the pop-up menu above the Choose button.
    To fill the symbol with a tinted image, choose Tinted Image Fill and select the image you want. Click the color well to the right of the Choose button to change the tint color. You can also resize the image by choosing an option from the pop-up menu above the Choose button.

  • How to update multi-handle graph with a new set of data points

    I have multiple sets of data that all have the same number of columns but different numbers of rows. Each column is plotted on a graph. I want to keep the format of the original graph with the same number of handles, and update each handle with new data points by bringing in a new set of points.
    See attachment for example.
    Attachments:
    hiqgraph.HiQ ‏14 KB

    There are several ways to do this.
    1. You can create a HiQ script that plots the new data to the graph using the existing plots. The following three lines plot the new data into the three existing plots (indicated by the plot handles.) Put these lines into a HiQ script object, right-click and select Run.
    addplot(Graph2D_1,-1,data2[*,1],data2[*,2]);
    addplot(Graph2D_1,-2,data2[*,1],data2[*,3]);
    addplot(Graph2D_1,-3,data2[*,1],data2[*,4]);
    2. You can do it interactively by right-clicking on the individual plots and choosing Change... This will being up a dialog you can use to change the data in that plot. This will be difficult to do when plots are right on top of each other, so you may want to display the plot legend, where you can also right-click a
    nd select Change...
    3. I like your idea about DataSocket. This way it will happen automatically. Whenever the matrix published to DataSocket changes, the plot should automatically update.
    I hope this helps.
    David

  • Connect data points on scatter graph

    I currently have a scatter graph to represent the cross section of a creek. I want to connect the data points so that it looks like a line graph.
    However, I cannot find an option in the inspector to do this.
    Thanks
    [IMG]http://i812.photobucket.com/albums/zz49/frusciantaya/Screenshot2010-07-31at72002 PM.jpg[/IMG]

    PacoA wrote:
    How to do it (format scatter charts) in numbers '09?
    Open Numbers '09 Users Guide.
    Type 'format scatter charts' (without the quotes) in the search box.
    Click on the most useful looking (and in this case, only) item in the list.
    Regards,
    Barry
    PS: The Numbers '08 forum isn't the right place for a Numbers '09 question.

  • SSRS 2008 Column Chart with Calculated Series (moving average) "formula error - there are not enough data points for the period" error

    I have a simple column chart grouping on 1 value on the category axis.  For simplicity's sake, we are plotting $ amounts grouping by Month on the category axis.  I right click on the data series and choose "Add calculated series...".  I choose moving average.  I want to move the average over at least 2 periods.
    When I run the report, I get the error "Formula error - there are not enough data points for the period".  The way the report is, I never have a guaranteed number of categories (there could be one or there could be 5).  When there is 2 or more, the chart renders fine, however, when there is only 1 value, instead of suppressing the moving average line, I get that error and the chart shows nothing.
    I don't think this is entirely acceptable for our end users.  At a minimum, I would think the moving average line would be suppressed instead of hiding the entire chart.  Does anyone know of any workarounds or do I have to enter another ms. connect bug/design consideration.
    Thank you,
    Dan

    I was having the same error while trying to plot a moving average across 7 days. The work around I found was rather simple.
    If you right click your report in the solution explorer and select "View Code" it will give you the underlying XML of the report. Find the entry for the value of your calculated series and enter a formula to dynamically create your periods.
    <ChartFormulaParameter Name="Period">
                      <Value>=IIf(Count(Fields!Calls.Value) >= 7 ,7, (Count(Fields!Calls.Value)))</Value>
    </ChartFormulaParameter>
    What I'm doing here is getting the row count of records returned in the chart. If the returned rows are greater than or equal to 7 (The amount of days I want the average) it will set the points to 7. If not, it will set the number to the amount of returned rows. So far this has worked great. I'm probably going to add more code to handle no records returned although in my case that shouldn't happen but, you never know.
    A side note:
    If you open the calculated series properties in the designer, you will notice the number of periods is set to "0". If you change this it will overwrite your custom formula in the XML.

Maybe you are looking for

  • How do I reset my hard drive software to Snow Leopard?

    When I bought my 2009 MacBook, it was Snow Leopard, but it seems to lag now that it is on Lion. How do I reset my software?

  • Excel in place to maintain a Z table

    I need to build a Excel inplace based utility to maintain table entries in a z table. So I can use this Excel inplace utility to add new record, modify existing ones or delete existing ones. Can someone kindly share the code for a simple 5 field with

  • Wanna cry - can only import to Projects?

    Argh. Is it a fact that whenever I go to import photos saved on my drive, it'll ALWAYS create a new project for each import? I've been playing and hitting the manual but it seems like that is the case... That is pretty infuriating. I've got a massive

  • Cost price calculation of raw material

    I want to know how cost price of raw material is calculated in sap.  Is it when ever price changes we have to go to each material code and change the price  or we can have our own policy? Edited by: gururaj gadgoli on Sep 18, 2008 1:05 PM

  • Any good visualizers for the iPad that work with iTunes?

    I have long wanted to hear my iTunes library through my home cinema system and watch the iTunes visualizer at the same time. Current Macs support mirroring on a TV via Apple TV, but mine are too old. I thought I could get around this with an iPad, bu