Chart Web Part to not plot zeros on a line graph

Hi all,
Is it possible to not plot zeros on a line graph?
I have a line chart with days of the current month along the x-axis and a value on the y-axis. I have a series representing a forecast as a line that will show what the values along for the whole month should be and a second
line chart series representing the actual. This tells the reader how the actual is tracking against the forecast. The data is based on an excel table.
Currently when the latest value is set the line skews back to 0. I don't want this shown, I just want it left blank. On excel you can change the zeros to na() and the line graph will not plot, however, if I leave them as na() in the source data, the whole
column wont be imported in the chart wizard.
Any ideas?
Thanks
Andy

It's true -- the RangeBar chart type only has two field options (X and Y) while the RangeColumn correctly has an addtional Y field. The RangeBar chart should obviously have two X fields if it's supposed to plot a range, as the name and example image indicate.
Neither this thread or the one linked has led to an answer. Can this be fixed?

Similar Messages

  • SP2010: Different colors for chart bars in Chart Web part with single data series?

    Hello,
    I've been asked to create a chart for visual display and summary of Status values within a SharePoint list of job positions. The list of positions includes a Status field with the only values being Open and Closed. I created a page that shows the list, and
    at the top I inserted a Chart Web part that displays two bars - one showing the number of Open positions and one showing the Closed positions. Because I was having difficulty getting the totals for each Status value to show up in the chart, I followed
    the instructions at
    http://highbrowse.wordpress.com/2012/07/04/chart-counts-from-sharepoint-lists/ and pointed my chart at the new "Status values" list - this worked well to display the sum counts for each of the two Status values in separate bars.
    This was all fine and good, except that because I am only using one data series for my chart, both of the bars (for Open and Closed) show up as the same color. I've been asked to make them different colors but cannot figure out how to do so. Can someone
    provide guidance on how I could make the two bars different colors? Thank you so much.
    cheers

    Hello,
    as far as I know, the chart web part does not have any settings to change the color of individual data points or plot data points of a series in different colors. If you only have two values in the series, you could use a pie chart instead of the column
    or bar chart. In a pie chart, the different slices have different colors.
    cheers, teylyn

  • Error in Creating a Chart Web Part Connected to a List-Column named "" already belongs to this DataTable

    Hi,
    I am trying to create a Chart Web Part that is connected to a list. 
    I inserted a Chart Web Part on the page.
    In Step 1, I chose, Connect to a List.
    In Step 2, I chose the List, "QPAPForm"
    After I connect to the list (QPAPForm), and I get to step 3 to Retrieve and Filter Data, I have the following error message:  "Please correct the following: A column named "Update Policy Tasks" already belongs to this Data Table.
    "Update Policy Tasks" is a Workflow used on this list (QPAPForm), but it is not a column value per se.
    How do I correct this issue?
    Thanks,
    Jan

    Hi,
    I have done a test, and I can’t reproduce your issue.
    I created a custom list and an approval workflow which generated an column in the custom list. Then created a Chart Web Part which was connected to the custom list, I didn’t meet any error.
    Let’s verify the following:
    What template is your List template? what columns does the list has?
    What kind of workflow has generated the “Update Policy Tasks” column?
    I suggest you re-create the list without workflow and do a test, compare the results.
    Best Regards
    Lisa Chen

  • Chart web part - lookup columns corrupted

    Hello,
    I am using the chart web part, and if I reference the lookup column, which is last names, it posts both the last names and the number, such as:
    42; #LASTNAME
    How do I not have it display that number, semicolon and #?
    Thanks,

    Lookup field contains both title and ID, and to get title only, you need to use Look
    var lookupItemValue = new SPFieldLookupValue(item["lookupfield"].ToString());
    value = lookupItemValue.LookupValue;
    or you can use substring function to fetch value after semicolon (;)
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldlookup.aspx
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)

  • In-Depth Chart Web Part References

    I have look at the available chart web part online manuals such as the one below and but it does not provide in-depth answers about the various chart options or how best to use web charts part.
    I would appreciate the title of a publication that really explains the web chart part and how to construct charts. I thought it would allow building charts like in XL but not so. The help below is one-dimensional forcing one to play and play with the part
    to attempt divine how it works. Thanks.
    http://social.technet.microsoft.com/Forums/en-US/65e38032-5a27-47a1-a2e8-81a38c5c6bab/chart-web-part-manual?forum=sharepointgeneralprevious
    http://office.microsoft.com/en-us/sharepoint-server-help/introduction-to-the-chart-web-part-HA101889216.aspx#_Toc268792246

    Basic details of chart webpart
    http://office.microsoft.com/en-in/sharepoint-server-help/introduction-to-the-chart-web-part-HA101889216.aspx
    http://office.microsoft.com/en-in/sharepoint-server-help/create-a-chart-by-using-the-chart-web-part-HA101889211.aspx
    Some advance option in chart webpart
    http://blogs.technet.com/b/ken_prices_sharepoint_blog/archive/2012/02/08/sharepoint-2010-s-chart-web-part.aspx

  • Reporting Services Webpart - web part does not auto render consistantly

    We are on SharePoint 2010 (integrated with Reporting Services)- on several sites we have added the Reporting Services Web Part and with a saved parameter.  The behavior of this web part is not consistent.  There are times when I open up a site
    and the web part will auto render the report.  5 minutes later I can go into the same site, and the web part does not auto render the report.  I have to do edit page, or close and re-open the web site.  Has anyone experienced this type of behavior. 
    I've looked for assistance with this issue on-line cannot find anything that specifically addresses this issue.   

    Hi Karen,
    If the parameters have default values in the report, then the report can be rendered automatically.
    For this issue, I recommend to verify the things below:
    Does this issue occur when you open the page with the web part in a new tab in the browser or go back to the previous opened tab?
    Does this issue occur in the server side or client side?
    Please add the site to trusted sites in Internet Explorer to see how it works.
    Please change another browser to see how it works.
    For narrowing down the issue scope, please test with another report and compare the results.
    Thanks,
    Victoria
    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]

  • Content query web part is not working after chaning the DNS entry

    Hi all,
    We have a content query web part in the sharepoint site but it is not working after changing the DNS Entry for the web site ipaddress from one server to other . But it is working fine on the server, if we try to access the site from other system content
    quey server its not working fine and its giving error message as bellow.
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
    Can anyone help me to fix this issue please.

    I have custom XSLT . But it is working fine before changing the dns entry as soon as we change the DNS entry the content quey web part is not working. I tried to delete the content query web part and add it once again to the page, As soon as content query
    web part is added to the page the fallowing error message is displayed.
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
    Can anyone help me to fix this issue please.

  • Web Part is not visible in Web Part gallary

    Hi,
    I have developed a project in sharepoint having two web parts inside it.
    Initially, when there was only one web part in my project it was working fine. But suddenly when i added a new web part, it is not showing me web parts in a gallary. Event it is not available in web part list under Web Designer Gallaries.
    I tried with old .wsp to deployed, but still the same problem.
    On my development machine it is working with two web parts very good. but when i try to deploy that wsp on production site, it is not showing me anything in web part gallary while it was when i was working with one web part only in my project.
    Please, direct me where i am doing wrong, any possibilities?
    I did workarounds as
    1.  Check for the custom webpart feature folder under 14\TEMPLATE\FEATURES ----- Yes it exists there
    2. If the feature Scope is Site
    3. The webpart dll is deployed to GAC with Stsadm command
    4. No web part(My Custom) found here Site Action > Site Settings > Galleries > Web Parts

    in my development environment i checked in site collection feature, it isn't available in site collection feature but still i am getting those web parts in web part gallery while adding it on page.
    Also, in Production environment, feature is available in /templates/features folder after deployment, but not available in web part gallery while adding it on page.
    I tried with uploading .webpart file which is available in /templates/features production environment as i mentioned, is running for one web part. Not for second web part and giving me security error.
    As, uploading .webpart file is not feasible solution, please tell me how could i do that with .wsp file?
    please tell me what could be another workaround. 
     

  • What's New Web Part will not show updates from Team Discussion Web Part

    I have a Team Discussion Web Part which I want to show in the "What's New" updates Web Part. I have indexed the "modified" column of the team discussion and added it as a target list for the What's new Web Part, however updates to the Team
    Discussion are not showing up in the What's New Web Part.
    If I happen to tell the What's New web part to "use the below person column as a filter" and choose "Modified By", the page will crash with an error stating that the What's New web part caused the failure.
    Any suggestions?

    Hi KinsDotNet,
    According to your description, I could reproduce this issue.
    The following alternative solution consists in using the " Team Discussion " web part (with a customized view) in place of the " What's New " web part.
    Alternative solution steps:
    1. Create an index on the “ Modified ” field of the “ Team Discussion ” library in the Site Collection page in which “ What’s New ” web part’s functionality is needed
    2. Insert a “ Team Discussion ” web part in the same page and position where the “ What’s New ” web part was intended to be situated, or wherever it is needed
    3. Click on the “ Save & Close ” icon to save the page with the new “ Team Discussion ” web part
    4. Click on the “ Edit Web Part ” option in the  “ Team Discussion ” web part’s context-menu and click on the “ Edit the current view ” link inside the “ List Views ” section of the web part’s settings box
    5. Choose the desired display columns in the “ Columns ” section
    6. Set the “ Sort ” and “ Filter ” sections settings according to the following screenshot:
    7. In Step 6 , likely two identical “ Modified By ” options will be seen inside the “ Filter ” section’s “ when column ” drop-down.
     Selecting the second of these two “ Modified By ” options will likely cause the “ Team Discussion ” web part to not  work properly, so please make sure to select the first “ Modified By ” option. If, in the unlikely case, after  selecting the
    first “ Modified By ” option the “ Team Discussion ” web part does not render properly, go back and  select the second “ Modified By ” option and the web part should render properly
    8. In the “ Item Limit ” section, set the “ Number of items to display ” to the maximal amount of items you would like to be displayed inside the web part (for example:  5 )
    9. Click the "OK" to save the settings
    A similar post for your reference:
    http://social.technet.microsoft.com/Forums/en-US/dbdc67ed-1453-4045-b2a7-b6ab83b23c8c/include-discussion-board-on-a-whats-new-web-part?forum=sharepointgeneralprevious
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Marker shape not showing up in DVT line graph

    Hi,
    I am facing an issue where the Marker Shape is not getting displayed in DVT Line graph. In the graph there is only one series, in which diamond markers should appear at the data points.
    I am using Jdev 11.1.1.7.0.
    Below is the expected result and the result which i am actually getting. Although the data set is different, the diamonds which we see in the first graph are not appearing in the second one(my output).
    My code snippet for the line graph is as below:
    <dvt:lineGraph id="lineGraph1"
                           value="#{bindings.VarianceGraphVO1.graphModel}"
                           subType="LINE_VERT_ABS" shortDesc="Variance Graph">
              <dvt:graphTitle text="Schedule Variance"/>
              <dvt:y1Title id="y1Title1" text="Variance % Days"/>
              <dvt:o1Title id="o1Title1" text="Cemli"/>
              <dvt:background>
                <dvt:specialEffects/>
              </dvt:background>
              <dvt:graphPlotArea/>
              <dvt:seriesSet defaultLineWidth="3">
                <dvt:series markerShape="MS_DIAMOND" markerType="MT_MARKER"
                            lineWidth="2"/>
                <dvt:series/>
              </dvt:seriesSet>
              <dvt:o1Axis rendered="false"/>
              <dvt:y1Axis/>
              <dvt:legendArea automaticPlacement="AP_NEVER"/>
            </dvt:lineGraph>
    Even though the marker shape property is mentioned it is some how not reflecting in my result. Even other types of marker shapes like square, circle, up/down arrow are not working.
    Request you to help me fix this issue.
    Thanks a lot.
    Regards,
    Tejas

    Try to set seriesSet  defaultMarkerShape="MS_CIRCLE" and markerDisplayed="true" like:
    <dvt:seriesSet defaultMarkerShape="MS_CIRCLE" markerDisplayed="true">
           <dvt:series/>
    </dvt:seriesSet>

  • People Picker/Edit Web Parts/More not working in IE11

    So, we just installed IE11 in our company and found the following issues with SharePoint 2010:
    People Picker not working
    At Search site, when you type in string(s) and hit Enter, nothing happens (you must click the search button)
    Cannot edit web parts on Wiki Page
    After doing some exhaustive homework (and installing Sep 2014 CU to see they were fixed), the only 2 solutions are:
    Run in compatibility Mode
    Fix the below tag in the Master Page and People Picker headers (14 hive)
    meta http-equiv="X-UA-Compatible" content="IE=8"
    So, I just want to know if others have encountered this and what they did to resolve (compatibility mode or change the tags or other).
    I have a ticket open with Microsoft, we installed Sept 2014 CU, and are still having these 3 issues.
    Godspeed,
    Herschel

    Hi,
    Thanks for posting your issue,
    We know that IE11 has compatibility issues. Kindly follow below mentioned steps to solve this issue
    1. Installed all the latest Update for IE 11
    2. Add the site in compatibility Mode (Tools> Compatibility view settings> type site name> add)
    3. Add the site in trusted sites and set the security Zone level to low ( IE> Internet Options> Security> trusted sites> sites>add your site there> ok> custom level> select low> reset> ok)
    Also, browse the below mentioned URLs for more details to fix this issue.
    http://www.proactivespeaks.com/2013/09/12/fixing-sharepoint-compatibility-issues-with-internet-explorer-ie-9-and-ie-10/
    http://saiabhilash.blogspot.in/2012/12/people-picker-to-add-users-to.html
    http://sinclairinat0r.com/2014/02/25/sharepoint-2010-people-picker-and-workflow-compatibility-fixes-for-ie10ie11/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Content Search Web Part - Sorting not working

    I recently tried the new Content Search Web Part for which i see tremendous potential. I wanted to use it to show a certain type of pages and that was not a problem (i added a url as the source where i got the pages from). I mapped the correct fields so
    that it showed image, title and modified date. I then tried the advanced mode and told it to sort by the modified date, however any way I tried to apply this sort it just would not save my settings and reverted back to the default sorting. Is there anything
    else you need to do to get Sorting to work?
    /Anders

    I hadn't tried looking with REST, but that's a good suggestion.
    In the interim, I found this on TechNet:
    http://technet.microsoft.com/en-us/library/jj679902.aspx#BKMK_MapCPtoRefinableMP<o:p></o:p>
    When you search for a crawled property, you may find two crawled properties
    that represent the same content. For example, a site column of type Text named
    Color will during crawl discover two crawled properties: ows_Color and
    ows_q_TEXT_Color. Crawled properties that begin with either ows_r<four
    letter code>, ows_q<four letter code>, or ows_taxId are automatically
    created crawled properties. When you select a crawled property to map to a
    refinable managed property, make sure that you don't map the automatically
    created crawled property. Instead, always map the crawled property that begins
    with ows_.
    So clearly (as clearly as the doc makes it) I need to use ows_ArticleStartDate. I've made sure that crawled property is the one I'm using, but I'm still not seeing any effect.
    As for the sorting model, that only seems to be relevant for Rank sorting, right?
    M.
    Sympraxis Consulting LLC -
    Marc D Anderson's Blog - @sympmarc -
    jQuery Library for SharePoint Web Services (SPServices)

  • Content Query Web Part filter not returning any results

    This CQWP stopped working after moving a number of files to new locations. It is configured in the following way:
    Source: Show items from the following site and all subsites
    List type: Pages Library
    We want to filter the list by the article date, last 30 days. Without a filter, results are returned. If ANY filtering is applied, NO results are returned, NO error messages.
    I experimented with "Group items by" filter, but it also resulted in no results.
    If I change the Source field to a subfolder, I can return filtered results.
    Any ideas? 

    Make sure that ItemStyle.xslt is working fine, try to change the item style
    for your content query web part, if it shows data then there your custom defined
    item style is not working properly

  • Customizing the blog post web part to not show entire entries

    I have a blog site, and as you know, the posts web part shows the entire contents of each listed post, rather than one paragraph, followed by a "click here to read more" link.  I know that there is no out-of-box functionality for this, because of course,
    why would there be? Who needs nice looking blogs?  Anyway, I found this on the internet:
    http://zabistop.blogspot.com/2009/02/customizing-sharepoint-blog-posts-web.html
    It knows what's up, but it's outdated and the code doesn't mesh with what I have. Are there any articles similar to this online? I can't be the first person who thought of this, and doing it from the ground up is not an option. I appreciate any help.

    In 2010 you can make the same changes using a similar method.
    Open the default.aspx page, in code view click in within the blog area. In the ribbon click on the List View tools >design. Click on Customize XSLT in the Actions panel. When you do that you will be able to see all the code.
    Find this line of code <xsl:template name="FieldRef_Note_body.Body" ddwrt:dvt_mode="body" match="FieldRef[@Name='Body']" mode="Note_body" ddwrt:ghost="hide">
    Approx line 402. It actually looks like   </xsl:template><xsl:template name="FieldRef.... so you will have to place your cursor after the template close and hit enter a few times to make space for the code.
    Directly above that line, where you have added spaces, include this code. (I cheated and grabbed this code from another site where we did the same thing - and was able to modify it slightly to work for the blog.)
    <!-- used to strip out HTML from passed-in field -->
        <xsl:template name="removeHtmlTagsFromField">
         <xsl:param name="html"/>
         <xsl:choose>
             <xsl:when test="contains($html, '&lt;')">
                 <xsl:value-of select="substring-before($html, '&lt;')"/>
                 <!-- Recurse through HTML removing all markup -->
                 <xsl:call-template name="removeHtmlTagsFromField">
                     <xsl:with-param name="html" select="substring-after($html, '&gt;')"/>
                 </xsl:call-template>
             </xsl:when>
             <xsl:otherwise>
                 <xsl:value-of select="$html"/>
             </xsl:otherwise>
         </xsl:choose>
     </xsl:template> 
    Next below the line ( should be the next line below the pasted code)   <xsl:template name="FieldRef_Note_body.Body" ddwrt:dvt_mode="body" match="FieldRef[@Name='Body']" mode="Note_body" ddwrt:ghost="hide">
    Locate the       <xsl:param name="thisNode" select="."/> and paste the following code:
      <!-- call "removeHtmlTagsFromField" template to strip out html markup from the field -->   
     <xsl:variable name="textOnlyDescription">
         <xsl:call-template name="removeHtmlTagsFromField">
             <xsl:with-param name="html" select="$thisNode/@*[name()=current()/@Name]" />
         </xsl:call-template>
     </xsl:variable>
    I have already swichted out the select content with the content that was in the xsl line that renders the body content.
    Locate the code  ( should be 2 lines down)     <xsl:value-of select="$thisNode/@*[name()=current()/@Name]" disable-output-escaping="yes"/>
    Comment the code out and replace with the following code:
          <xsl:value-of select="substring($textOnlyDescription, 0, 320)" disable-output-escaping="yes"/>
          <xsl:if test="string-length($textOnlyDescription)>320">...</xsl:if>
    Change the number to your desired length.
    Save your file.
    You can revert the file if you ever need to, after its checked in, by right clicking on the page and selecting reset to site definition. 
    Hope this helps. I plan on doing a post shortly covering this and will have screen shots.
    Heather Waterman SharePoint Desginer www.heatherwaterman.com

  • How to develop a solution for news web part to not cut off words when displayed on a page?

    Hello,
    I am not sure where to turn to, but I have a web part on a SharePoint 2013 page where it displays news and announcement items.  4 lines of text are displayed, but words are cut off.  For example:
    The day was grey and stormy in the middl...
    Read More
    Is there a way to not have SharePoint cut off words and display the whole word before it adds the ... and the end of text?
    Is there a third party web part that does a better job at displaying news?
    Thanks,
    Paul
    Paul

    i think your code is such way it hides remaining text anyways try these links as reference:
    http://veroniquepalmer.com/2011/04/23/announcements-gotchas-on-sharepoint-2010-site-pages/
    http://sharepoint.stackexchange.com/questions/20959/sharepoint-2010-set-character-limit-of-news-webpart-without-sp-designer
    http://sharepointsolutions.blogspot.in/2009/02/expanding-size-of-announcements-web.html
    http://www.edugeek.net/forums/virtual-learning-platforms/31539-customizing-announcements-summary-view-sharepoint.html
    Please mark as answer if you find it useful else vote for it if it is close to answer..happy sharepointing

Maybe you are looking for

  • How many times can i install?

    Well guys this is the problem, i've got parallels and boot camp and i am looking at getting windows xp home sp2 to run on my mac but then i realized you can only install it on one computer. Does installing it in bootcamp and parallels count as two co

  • Why does iPhoto 6 organize as rolls now?

    Hi! I recently imported my iPhoto 5 library to my iPhoto 6. While all of the pictures and everything imported just fine, my organizing is all messed up. Now instead of iPhoto organizing it by date in the files, it organizes it by roll. My iPhoto 5 di

  • Help with URL Parameters and HTML DataSet please.

    Hello everybody! Looking at the example page: "Using URL Parameters to Control Data Regions", towards the bottom it gives an example of "Set by Product Name", from an XML DataSet using the following sample code:     //Data set for the second example.

  • Oxford FireWire Bridge Utilities

    This is a general external hardware question that didn't really fit in any particular listed category. If the moderators think it belongs somewhere else, feel free to move it appropriately. My problem is as follows: Due to an embarrassing faux pas -

  • Async Public Events

    Hi, I'm building a component which serves as mediator between 3rd-party API and the rest of my app. Basically, my problem is that I need to capture and handle some events sent by the API, do some work, and then trigger an event which will be used by