The Atlassian Extension Spaces have been migrated to http://plugins.atlassian.com. These pages are now deprecated and will soon be deleted.

Confluence Chart Plugin

Name Chart Plugin
Vendor Atlassian (Website)
Authors Jonathan Nolen
Homepage http://confluence.atlassian.com/display/CONFEXT/Confluence+Chart+Plugin
Issue Management https://studio.plugins.atlassian.com/browse/CHRT
Continuous Integration n/a
Categories Image and Visualisation
Most Recent Version 1.15
Availability confluence v3.1-beta1-r2 to v3.1
State Stable
Support Atlassian Supported Plugins
License Freeware / Open Source (BSD)
Price Free
Release Docs
Java API Docs https://maven.atlassian.com/contrib/com/atlassian/confluence/extra/chart/chart-plugin/1.15/chart-plugin-1.15-javadoc.jar
Download Source https://studio.plugins.atlassian.com/svn/CHRT/tags/chart-plugin-1.15/
Download JAR 15602

Compatibility With Confluence | Description | Installation | Simple example | Parameters | Usage Examples | Compatibility With Other Macros | Version History | Release Notes | Open Issues | Screenshots

Compatibility With Confluence

plugin-compatibility-matrix: com.atlassian.plugin.repository.model.RepositoryException: Status code [500] returned while downloading: http://confluence-test.atlassian.com/plugin-repository/proxy.action?profile=jira&decorator=none&buildNumber=-1&repoClientVer=2.1.6&os=i386&javaVer=1.6.0_14&javaVendor=Sun+Microsystems+Inc.

Note: Version 1.12 is binary compatible

Description

A plugin that will allow you to generate simple or advanced charts from tabular data.

Installation

Confluence
version
Plugin version
shipped with Confluence
Recommended
version
Installation or update notes
2.3 1.7 1.7.1 or higher Update with Confluence Repository Client or upload
2.2.x 1.5 1.7.1 or higher Remove chart-plugin-1.x.jar from .../WEB-INF/lib
Update with Confluence Repository Client or upload
2.1.5 - 2.1.x 1.5 1.7 Remove chart-plugin-1.x.jar from .../WEB-INF/lib
Update with Confluence Repository Client or upload
1.7.1+ will not work
2.0 - 2.1.4 1.0 - 1.2 1.5 Remove chart-*.jar from .../WEB-INF/lib
Update with Confluence Repository Client or upload
1.4.x none 1.5? Install in .../WEB-INF/lib
Not tested or supported with newer plugin releases
See version 43 of this page for additional installation requirements

Simple example

{chart:type=bar|title=Fish Sold}
|| Fish Type || 2004 || 2005 ||
|| Herring | 9,500 | 8,300 |
|| Salmon | 2,900 | 4,200 |
|| Tuna | 1,500 | 1,500 |
{chart}

Parameters

Chart Type Parameters | Display Control Parameters | Title and Label Customisation Parameters | Data Specification Parameters | Colour Customisation Parameters | Axis Customisation Parameters | Pie Chart Customisation Parameters | Attachment Parameters
Also see the Notation guide - it contains more information on some of these parameters.

Chart Type Parameters

These parameters determine what type of chart to display and the way the chart looks.

  • type - The type of chart to display. Both standard charts and XY charts are supported. XY charts have numerical x and y axes. The x values may optionally be time based (see the timeSeries parameter). The following chart types are available:
Standard charts
  • pie (default)
  • bar
  • line
  • area
XY plots
  • xyArea
  • xyBar
  • xyLine
  • xyStep
  • xyStepArea
  • scatter
  • timeSeries
Other charts
  • orientation — A bar, line, or area chart will be displayed vertically (y axis is vertical) unless 'orientation=horizontal' is specified.
  • 3D — A pie, bar, or line chart will be shown in 3D if '3D=true' is specified.
  • stacked — A bar or area chart will be shown with stacked values if 'stacked=true' is specified.
  • showShapes — Shapes will be shown at each data point in a line chart unless showShapes=false.
  • opacity — A percentage value between 0 (not visible) and 100 (non-transparent) that determines how opaque the foreground areas and bars are. Defaults are:
    • 75 percent for 3D charts
    • 50 percent for non-stacked area charts
    • 100 percent for all other charts

Display Control Parameters

  • width — The width of the chart in pixels (default is '300').
  • height — The height of the chart in pixels (default is '300').
  • dataDisplay — Default is false to not display the rendered body of the macro (usually the data tables). When dataDisplay=true or dataDisplay=after, the data will be displayed after the chart. When dataDisplay=before, the data will be displayed before the chart.
  • imageFormat — Default is png. Format of generated image. Valid formats are png and jpg. Other formats may be also be valid if installed on your server.

Title and Label Customisation Parameters

  • title — The title of the chart.
  • subTitle — A subtitle for the chart using a smaller font.
  • xLabel — The label to use for the x (domain) axis.
  • yLabel — The label to use for the y (range) axis.
  • legend — A legend will be displayed unless 'legend=false' is specified.

Data Specification Parameters

The data for the chart is taken from tables found when the macro body is rendered. These options control how this data is interpreted. By default, numeric and date values are interpreted according to the Confluence global default language (locale) formats. If conversion fails, other languages defined to Confluence will be tried. Additional conversion options can be specified using the parameters below.

  • tables — Comma separated list of table ids and/or table numbers (starting at 1) contained within the body of the macro that will be used as the data for the chart. Defaults to all first level tables. If data tables are embedded in other tables, then table selection will be required. This occurs when more complex formatting is done (for example using section and column macros). See Macros know to cause problems
  • columns — Comma separated list of column labels and/or column titles and/or column numbers for tables used for chart data. This applies to all tables processed. Defaults to all columns. Columns are enumerated starting at 1. Column label is the text for the column in the header row. Column title is the (html) title attribute for the column in the header row.
  • dataOrientation — The data tables will be interpreted as columns (horizontally) representing domain and x values unless 'dataOrientation=vertical'.
  • timeSeries — If 'true', the x values in an XY plot will be treated as time series data and so will be converted according date formats.
  • dateFormat — For time series data, the date format allows for additional customization of the conversion of data to date values. By default, the Confluence language defined date formats will be used. If a dateFormat is specified, it will be the first format used to interpret date values. Specify a format that matches the format of the time series data. See simple date format.
  • timePeriod — Specify the time period for time series data. Default is 'Day'. This defines the granularity of how the data is interpreted. Valid values are: Day, Hour, Millisecond, Minute, Month, Quarter, Second, Week, Year.
  • language — If provided, the language and country specification will be used to create additional number and date formats to be used for data conversion. This specification will be used before the default languages automatically used. Valid values are 2 character ISO 639-1 alpha-2 codes.
  • country — Used in combination with the language parameter. Valid values are 2 character ISO 3166 codes.
  • forgive — Default is true to try to convert numeric and date values that do not totally match any of the default or user specified formats. Specify forgive=false to enforce strict data format. Data format errors will cause the chart to not be produced.

Colour Customisation Parameters

See the notation guide for details on how to specify colours.

  • bgColor — Colour (default is 'white') to use as the background of the chart.
  • borderColor — Colour of a border around the chart. Default is to not show a border.
  • colors — Comma separated list of colours used to customise category, sections, and series colours.

Axis Customisation Parameters

Depending on the chart type, the range and domain axis may be customised. These values are automatically generated based on the data but can be overridden by specifying one or more more of these parameters.

  • rangeAxisLowerBound — range axis lower bound.
  • rangeAxisUpperBound — range axis upper bound
  • rangeAxisTickUnit — range axis units between axis tick marks
  • rangeAxisLabelAngle — angle for the range axis label in degrees
  • domainAxisLowerBound — domain axis lower bound. For a date axis, this value must be expressed in the date format specified by the dateFormat parameter. (Only used in XY Plots, standard charts will have no effect)
  • domainAxisUpperBound — domain axis upper bound. For a date axis, this value must be expressed in the date format specified by the dateFormat parameter. (Only used in XY Plots, standard charts will have no effect)
  • domainAxisTickUnit — domain axis units between axis tick marks. For a date axis, this value represents a count of the units specified in the timePeriod parameter. The time period unit can be overridden by specifying a trailing character: y for years, M for months, d for days, h for hours, m for minutes, s for seconds, u - milliseconds. (Only used in XY Plots, standard charts will have no effect)
  • domainAxisLabelAngle — angle for the domain axis label in degrees. (Only used in XY Plots, standard charts will have no effect)
  • categoryLabelPosition — allows axis label text position for categories to be customised.
    • up45 - 45 degrees going upward
    • up90 - 90 degrees going upward
    • down45 - 45 degrees going downward
    • down90 - 90 degrees going downward
  • dateTickMarkPosition — placement of the date tick mark.
    • start (default) — tick mark is at the start of the date period.
    • middle — tick mark is in the middle of the date period.
    • end — tick mark is at the end of the date period.

Pie Chart Customisation Parameters

  • pieSectionLabel — Format for how pie section labels are displayed. The default is to show only the pie section key value. The format is a string with special replacement variables:
    • %0% is replaced by the pie section key.
    • %1% is replaced by the pie section numeric value.
    • %2% is replaced by the pie section percent value.
      Example 1: "%0% = %1%" would display something like "Independent = 20"
      Example 2: "%0% (%2%)" would display something like "Independent (20%)"
  • pieSectionExplode — Comma separated list of pie keys that are to be shown exploded. Defaults to no exploded sections. Note: requires jFreeChart version 1.0.3 or higher.

Attachment Parameters

These are advanced options that can be used for chart versioning, to enable automation and to improve performance. Use these options carefully! Normally, the chart image is regenerated each time the page is displayed. These options allow for the generated image to be saved as an attachment and have subsequent access re-use the attachment. This can be useful especially when combined with the Cache Plugin to improve performance. Depending on the options chosen, chart images can be versioned for historical purposes.

  • attachment — Chart image will be saved in a attachment. This advanced capability is for automation or use in combination with the cache macro. For attachment to be used, the user must be authorised to add attachments to the page specified.
    • ^attachmentName.png — The chart is saved as an attachment to the current page.
    • page^attachmentName.png — The chart is saved as an attachment to the page name provided.
    • space:page^attachmentName.png — The chart is saved as an attachment to the page name provided in the space indicated.
  • attachmentVersion — Defines the the versioning mechanism for saved charts.
    • new — (default) Creates new version of the attachment.
    • replace — Replaces all previous versions of the chart. To replace an existing attachment, the user must be authorized to remove attachments for the page specified.
    • keep — Only saves a new attachment if an existing export of the same name does not exist. An existing attachment will not be changed or updated.
  • attachmentComment — Comment used for a saved chart attachment.
  • thumbnail — Default is false. If true, the chart image attachment will be shown as a thumbnail.

Chart Type Parameters | Display Control Parameters | Title and Label Customisation Parameters | Data Specification Parameters | Colour Customisation Parameters | Axis Customisation Parameters | Pie Chart Customisation Parameters | Attachment Parameters

Usage Examples

Compatibility With Other Macros

Macros known to be allowed in the body of the chart macro

  • Include Page Macro — to include a page containing data tables
  • SQL Plugin — to generate chart data using SQL select statements, note multiple sql macros are allowed in the same body.
  • CSV Macro — to provide chart data from comma separated values (csv)
  • Java Scripting Plugin — to generate chart data using Java code
  • Excel Plugin — to provide chart data from an Excel spreadsheet
  • Layout Macros — the section and column macros can be used starting with version 1.7

Macros known to cause problem if included in the body of the chart macro

If you use the section, column, scrollbar, or other advanced formatting macros in the body of the chart macro, then you must use the tables parameter to identify the tables that are to be used for chart data. This is due to the fact that these macros produce tables causing the data tables to be lower level sub-tables. The easiest approach is to assign an id to the data table and then explicitly list it in the tables parameter of the chart macro. The id of the table can be set using various macros that have Common table capabilities.

Version History

Plugin Versions

Version Date State License Price
Show description 1.15 (#1150) 17 Nov 2009 Stable Freeware / Open Source (BSD) Free

Release Notes

https://developer.atlassian.com/jira/browse/CHRT/fixforversion/12867

Show description 1.14 (#1140) 12 Nov 2009 Stable Freeware / Open Source (BSD) Free

Release Notes

https://developer.atlassian.com/jira/browse/CHRT/fixforversion/12423

No description provided 1.13 (#18) 17 Apr 2009 Stable Freeware / Open Source (BSD) Free
Show description 1.12 (#17) 13 Oct 2008 Stable Freeware / Open Source (BSD) Free

Release Notes

http://developer.atlassian.com/jira/browse/CHRT/fixforversion/11847

Show description 1.11 (#16) 21 Jul 2008 Stable Freeware / Open Source (BSD) Free

Release Notes
http://developer.atlassian.com/jira/browse/CHRT/fixforversion/11821

Contributors

  • Jonathan Nolen — Contributor

Show description 1.10 (#15) 08 Jul 2008 Stable Freeware / Open Source (BSD) Free

Release Notes

New look and feel for the plugin.

Contributors

  • Jonathan Nolen — Contributor

Show description 1.9.1 (#14) 26 Feb 2008 Stable Freeware / Open Source (BSD) Free

Release Notes

{jiraissues:url=http://developer.atlassian.com/jira/secure/IssueNavigator.jspa?view=rss&&pid=10001&fixfor=11458&sorter/field=issuekey&sorter/order=DESC&tempMax=25&reset=true&decorator=none|columns=key,priority,summary,updated,asignee,reporter,status|renderMode=static}

Show description 1.9 (#13) 04 Dec 2007 Stable Freeware / Open Source (BSD) Free

Release Notes

{jiraissues:url=http://developer.atlassian.com/jira/secure/IssueNavigator.jspa?view=rss&&pid=10001&fixfor=10301&sorter/field=issuekey&sorter/order=DESC&tempMax=25&reset=true&decorator=none|columns=key,priority,summary,updated,asignee,reporter,status|renderMode=static}

Show description 1.8 (#12) 05 Mar 2007 Stable Freeware / Open Source (BSD) Free

Release Notes

{jiraissues:url=http://developer.atlassian.com/jira/secure/IssueNavigator.jspa?view=rss&&pid=10001&fixfor=10300&sorter/field=issuekey&sorter/order=DESC&tempMax=25&reset=true&decorator=none|columns=key,priority,summary,updated,asignee,reporter,status|renderMode=static}

Show description 1.7.2 (#11) 22 Jan 2007 Stable Freeware / Open Source (BSD) Free

Release Notes

{jiraissues:url=http://developer.atlassian.com/jira/secure/IssueNavigator.jspa?view=rss&&pid=10001&fixfor=10333&sorter/field=issuekey&sorter/order=DESC&tempMax=25&reset=true&decorator=none|columns=key,priority,summary,updated,asignee,reporter,status|renderMode=static}

Show description 1.7.1 (#10) 16 Dec 2006 Stable Freeware / Open Source (BSD) Free

Release Notes

{jiraissues:url=http://developer.atlassian.com/jira/secure/IssueNavigator.jspa?view=rss&&pid=10001&fixfor=10305&sorter/field=issuekey&sorter/order=DESC&tempMax=25&reset=true&decorator=none|columns=key,priority,summary,updated,asignee,reporter,status|renderMode=static}

Show description 1.7 (#9) 11 Dec 2006 Stable Freeware / Open Source (BSD) Free

Release Notes

{jiraissues:url=http://developer.atlassian.com/jira/secure/IssueNavigator.jspa?view=rss&&pid=10001&fixfor=10101&sorter/field=issuekey&sorter/order=DESC&tempMax=25&reset=true&decorator=none|columns=key,priority,summary,updated,asignee,reporter,status|renderMode=static}

Show description 1.6a (#8) 28 Sep 2006 Stable Freeware / Open Source (BSD) Free

Release Notes
{jiraissues:url=http://developer.atlassian.com/jira/secure/IssueNavigator.jspa?view=rss&&pid=10001&fixfor=10223&sorter/field=issuekey&sorter/order=DESC&tempMax=25&reset=true&decorator=none|columns=key,priority,summary,updated,asignee,reporter,status|renderMode=static}

Contributors

  • Jonathan Nolen — Contributor

Show description 1.6 (#7) 28 Sep 2006 Beta Freeware / Open Source (BSD) Free

Release Notes
{jiraissues:url=http://developer.atlassian.com/jira/secure/IssueNavigator.jspa?view=rss&&pid=10001&fixfor=10100&sorter/field=issuekey&sorter/order=DESC&tempMax=25&reset=true&decorator=none|columns=key,priority,summary,updated,asignee,reporter,status|renderMode=static}

Contributors

  • Jonathan Nolen — Contributor

Show description 1.5 (#6) 27 Feb 2006 Stable Freeware / Open Source (BSD) Free

Contributors

  • Jonathan Nolen — Contributor

Show description 1.4 (#5) 28 Nov 2005 Beta Freeware / Open Source (BSD) Free

Contributors

  • Jonathan Nolen — Contributor

Show description 1.3 (#4) 27 Nov 2005 Beta Freeware / Open Source (BSD) Free

Contributors

  • Jonathan Nolen — Contributor

Show description 1.2 (#3) 14 Nov 2005 Beta Freeware / Open Source (BSD) Free

Contributors

  • Jonathan Nolen — Contributor

Show description 1.1 (#2) 09 Nov 2005 Beta Freeware / Open Source (BSD) Free

Contributors

  • Jonathan Nolen — Contributor

Show description 1.0 (#1) 08 Nov 2005 Beta Freeware / Open Source (BSD) Free

Contributors

  • Jonathan Nolen — Contributor

Release Notes

  • 1.9.1
    When: 26-Feb-2008
    Who: Bob Swift
    What:
  • 1.7.2
    When: 22-Jan-2007
    Who: Bob Swift
    What:
  • 1.7.1
    When: 16-Dec-2006
    Who: Bob Swift
    What:

Open Issues

Screenshots

Labels

plugin plugin Delete
confluence14 confluence14 Delete
confluence20 confluence20 Delete
macro macro Delete
confluence21 confluence21 Delete
chart chart Delete
charting charting Delete
atlassian-supported atlassian-supported Delete
repository_current repository_current Delete
confluence22 confluence22 Delete
confluence23 confluence23 Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Nov 09, 2005

    Guy Fraser says:

    Jonathan / David - is it possible to change the colours for: a) the chart borde...

    Jonathan / David - is it possible to change the colours for:

    a) the chart border
    b) the chart "page" (currently results in a wide grey border around the chart - can I set it to white?)
    c) the chanrt background (eg. I might want a very pale yellow)

    1. Nov 09, 2005

      Bob Swift says:

      There are a large number of options and capabilities available in the underlying...

      There are a large number of options and capabilities available in the underlying technology (jfreechart).  More chart types, background settings, labeling, etc....  A lot of these will be easy to add, but there is a lot of them and each will need to be tested, documented, etc...   I will volunteer to do some of these.

      1. Nov 09, 2005

        Guy Fraser says:

        The more the merrier Is there a list of them somewhere so that we might use the...

        The more the merrier Is there a list of them somewhere so that we might use the voting macro to prioritise which get exposed first?

      2. Nov 09, 2005

        Mike Cannon-Brookes says:

        Right now the plugin is nice and simple - I hope we can keep a lot of that. 99% ...

        Right now the plugin is nice and simple - I hope we can keep a lot of that. 99% of the JFreeChart functionality is probably not needed by a business user who just wants to put a pie chart into a page!

        1. Nov 09, 2005

          Guy Fraser says:

          Mike, I hear what you are saying, and I'm all for simplicity. However, if we kn...

          Mike,

          I hear what you are saying, and I'm all for simplicity. However, if we knew what was possible then people who want those features could ask for them - only requested features go in rather than a load of aspirational features.

          Regardless, it's still an amazing macro and definately one to show in your marketing materials for Confluence 2.0!

          One of the things it has made obvious (after mixing it with David's tracking plugin) is that a large portion of people interested in Confluence are drawn to the macros and a lot of them are interested in navigation and visual layout macros.

          Confluence certainly hits the nail on the head when it comes to what people want from a Wiki and this recent space of new macros (we'll be adding some more of our own soon) is really impressive.

        2. Nov 09, 2005

          David Peterson [CustomWare] says:

          One option to balance complexity and simplicity might be to have a {chart-setup}...

          One option to balance complexity and simplicity might be to have a {chart-setup} macro similar to the {composition-setup} macro in the Composition Plugin. Optional, of course (I'm working on it for Composition, I promise!). That way, you could have something like:

          {chart-setup}
          chart.bar.color.1 = orange
          chart.bar.color.2 = green
          chart.background.color = white
          chart.background.alpha = 90%
          {chart-setup}
          

          You put it at the top of the page if you really care, but the {chart} macro itself is kept simple.

          That said, I'm with Mike on keeping it simple.

          In fact, in some ways it might be handy to have a general {page-setup} macro which works in the same way, and any macro from any plugin can look for values therin. Would save on proliferating {xxx-setup} macros...

          1. Nov 10, 2005

            Mike Cannon-Brookes says:

            I'm not so keen on this one because the setup macro is foreign to non-programmin...

            I'm not so keen on this one because the setup macro is foreign to non-programming users. I'd prefer to have a single 'configure' option (Xwork action) in the plugin with which an administrator can set various defaults (ie background colour) and then these defaults can be overridden by an individual chart.

            1. Nov 10, 2005

              David Peterson [CustomWare] says:

              Hmm...you speak truely. Your suggestion has given me a good idea. More to come.....

              Hmm...you speak truely. Your suggestion has given me a good idea. More to come...

            2. Nov 10, 2005

              Bob Swift says:

              I agree.  A separate setup macro is more difficult and unnatural for all us...

              I agree.  A separate setup macro is more difficult and unnatural for all users especially if it just replaces additional parameters.  An ability to set defaults by administrator is good, but not critical.  An administrator should NOT be changing defaults too much once the site defaults have been chosen.  The reason is that individuals need to control the look of their chart and having an administrator change defaults and thus the look of their chart (without their knowledge) could be annoying.

        3. Nov 09, 2005

          Bob Swift says:

          Simplicity is good, but I think simplicity and ease of use comes from good param...

          Simplicity is good, but I think simplicity and ease of use comes from good parameter names, appropriate defaults, good documentation, and examples more than any thing else.  If you don't need a parameter, you don't need to use it.  The documentation and examples need to be careful to have a basic/advanced levels so that you can get started easily without too much clutter and only go to the advanced stuff when you are ready. 

          1. Nov 10, 2005

            David Peterson [CustomWare] says:

            That is one of the problems with the Notation Guide in its current form - with m...

            That is one of the problems with the Notation Guide in its current form - with more complex macros, it's difficult to document all the options without the entry becoming unreadable...

            1. Nov 10, 2005

              Bob Swift says:

              The notation guide needs to be replaced. How about a discussion on this topic a...

              The notation guide needs to be replaced. How about a discussion on this topic at Help and documentation?

    2. Nov 10, 2005

      Jonathan Nolen says:

      done. --jn

      done. --jn

  2. Nov 15, 2005

    giles parnell says:

    Hi there Guys Great marco - am digging the effects. It's amazing what a few gra...

    Hi there Guys

    Great marco - am digging the effects. It's amazing what a few graphs can do for upper management morale 

    I have two questions.
    1) As it stands, the graphs are great. But a really kewl feature would be to allow the graphs to be populated dynamically,  ie: Let the actual values for the graph come from a filter - say from jira. What do you think would be involved / effort required to allow the chart data to by populated dynamically? 

    2) I have noticed a few 'INFO' type things coming through in the logs since installing the chart plugin, which i'm not too sure about. Do you know what may be causing it? Is it something i need to worry about ?

    14-Nov-2005 19:32:21 uk.ltd.getahead.dwr.util.CommonsLoggingOutput info
    INFO: Can't marshall org.jdom.Element because converter 'jdom' is not available. The converter definition may be missing, or required element may be missing from the CLASSPATH

    Excellent work though !
    Giles

    1. Nov 15, 2005

      David Peterson [CustomWare] says:

      1. If you can get the data into an HTML table, it can be dynamically populated n...

      1. If you can get the data into an HTML table, it can be dynamically populated now. Check out the SQL example above. If there are other syntaxes which would be helpful, or existing macros you'd like to see made chart-friendly, let us know.

      2. That is odd - the plugin does parse XML, but it uses Dom4J, not JDOM...

      It's possible that an import got in somehow. I'll check the source.

      1. Nov 15, 2005

        Mike Cannon-Brookes says:

        Giles, # Yes - given the SQL example David mentioned, there's no reason you...

        Giles,

        # Yes - given the SQL example David mentioned, there's no reason you couldn't write a JIRA macro to do this. I'm not sure if you could use the existing JIRA issues macro, I haven't tried it but we might be able to tweak the output format to make it more friendly.
        # That seems to be coming from DWR, nothing to do with the chart macro. Best to send it to the confluence-support team.

        Also, I was thinking with Jonathan the other day on IM (if one can indeed 'think collectively' on IM) about how we could get the chart to be populated with data from another page.

        For example, you might say source=SPACEKEY:Page Name or somesuch and that would use the first table on that page. That way you could maintain a single page containing your datasources, and charts elsewhere could be the summary - and they could be updated separately.

        The big question then becomes, how can we reference table X on a page? Perhaps by the heading preceeding it? I'm not sure on this yet.

        1. Nov 15, 2005

          Bob Swift says:

          Giles, Mike, yes, a good idea. I think the capabilities like those provided on ...

          Giles, Mike, yes, a good idea. I think the capabilities like those provided on the {sql} macro for getting the script could be applied here for tables. There is already a feature request for supporting multiple tables CHRT-10 that is in progress, so we can think about identifying tables as well. By the way, please add your thoughts and requirements in the issue tracker so you can specify exactly what you are thinking about.

        2. Nov 15, 2005

          David Peterson [CustomWare] says:

          You can already import the first table from another page. Try: {chart} {impor...

          You can already import the first table from another page. Try:

          {chart}
          {import:The Other Page}
          {chart}
          

          It will process the first table it comes across as the data. Of course, this won't work if the first table is a {panel} or a {section}/{column}.

          I have a working example up on my personal server (check the 'Imported' tab).

          Getting table 'x' is trickier, from a usability standpoint. It would be fairly easy to add a 'dataSet=3' parameter to chart which would simply process the third dataset/table it came across. Not necessarily the most readable thing, but it would work. Until someone reordered the page. But you'd probably have other issues then anyway... Checking for specific text would be trickier, but not impossible...

          1. Nov 15, 2005

            David Peterson [CustomWare] says:

            Urm, make that: {chart} {include:The Other Page} {chart} It's just the r...

            Urm, make that:

            {chart}
            {include:The Other Page}
            {chart}
            

            It's just the regular page import macro, built into Confluence.

      2. Jun 21, 2007

        Apurva Kothari says:

        Giles, David Did you get the charts to work with jiraissues or jiraportlets? go...

        Giles, David

        Did you get the charts to work with jiraissues or jiraportlets? got examples?

        thanks for your help!

        1. Jun 24, 2007

          Mei Yan Chan says:

          Hi Apurva, I would advice you to try posting this question in our forum and mai...

          Hi Apurva,

          I would advice you to try posting this question in our forum and mailing list as there may be our Atlassian developers or other users/developers who have had implemented such requirement before and should be able to share their ideas with you.

          Regards,
          Mei

  3. Nov 28, 2005

    Guy Fraser says:

    After installing 1.3, the plugin manager still says "1.2"...?

    After installing 1.3, the plugin manager still says "1.2"...?

    1. Nov 28, 2005

      Bob Swift says:

      Sorry, forgot to update the plugin description xml.

      Sorry, forgot to update the plugin description xml.

  4. Dec 29, 2005

    Steve Terry says:

    after reading the include comments for importing data, I tried the excel macro(f...

    after reading the include comments for importing data, I tried the excel macro(from the Scripting and External Content Macros macros) for generating a chart from data held in an attached Excel spread sheet(chartst.xls). Works on my 2.0.3 installation.

    {chart:title=Temperatures in Brisbane|type=bar|width=400|height=350|legend=true}
    {excel:file=^chartst.xls}
    {chart}
    
  5. Jan 16, 2006

    friendgo says:

    Hi! I haver a question. I want to use chartMacro link excel graph. If I have ...

    Hi!

    I haver a question.

    I want to use chartMacro link excel graph.

    If I have below date

    {chart:title=Naver weekly SLA|type=line|width=500|height=300|legend=true} 
      || || A || B || C ||  
      || Max | 99.1 | 100 | 99.2 | 
      || Min | 94.5 | 96.2 | 97.0 |  
    
    

    So I want to change y-value from 90% to 100%.
    Can I change y-value?

    1. Jan 16, 2006

      Bob Swift says:

      What you are asking is to control the axis range to be 90% - 100%. Yes, that is...

      What you are asking is to control the axis range to be 90% - 100%. Yes, that is possible but only after SCRP-17 is implemented. Please vote and watch for that.

  6. Mar 12, 2006

    Jean Marois says:

    Hi, The chart plugin works great on my windows box, but does not work on my UNI...

    Hi,

    The chart plugin works great on my windows box, but does not work on my UNIX box.  I get a NoClassDefFoundError: org/jfree/chart/axis/CategoryAxis, but I verified that I have the jfreechart-1.0.0.jar installed in WEB-INF/lib. I suspect it's because I don't have X11 installed. I've seen this issue with other charting tools not being able to work in a headless environment. Is this a known issue? Any known work-arounds that don't involve installing X11?

    1. Mar 12, 2006

      David Peterson [CustomWare] says:

      Hmm. I suspect you would get a different error message if X11 was the problem. Y...

      Hmm. I suspect you would get a different error message if X11 was the problem. You also need to have jcommon-1.0.0.jar installed - do you have that as well?

      1. Mar 12, 2006

        Jean Marois says:

        Yes, I have jcommon-1.0.0.jar. After restarting the server I get the following ...

        Yes, I have jcommon-1.0.0.jar.

        After restarting the server I get the following error on only the first attempt to display a chart, afterwards I get the NoClassDefFoundError on the CategoryAxis.

        Error formatting macro: chart: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

        I didn't notice this first time, but I have been able to reproduce it twice now.

        1. Mar 12, 2006

          Matt Ryall (Atlassian) says:

          Try enabling 'headless' mode for AWT by adding the following property to your JV...

          Try enabling 'headless' mode for AWT by adding the following property to your JVM parameters:

          java -Djava.awt.headless=true

          1. Mar 12, 2006

            Jean Marois says:

            You da man! (y) Thanks that fixed it.

            You da man! (y) Thanks that fixed it.

  7. Jun 08, 2006

    Kent Karlsson says:

    When I fetch a page with a Chart using the Remote API and renderContent, the cha...

    When I fetch a page with a Chart using the Remote API and renderContent, the chart-link never works for me. Can anyone verify?

    I can supply a python script that calls renderContent if you'd like.

    1. Jun 08, 2006

      David Peterson [CustomWare] says:

      I assume you mean that the link to the Chart image never works? This is true - a...

      I assume you mean that the link to the Chart image never works? This is true - at the moment the chart is created in a temporary location each time the page is rendered, which means that next time you access it, it is gone. This is also a problem for Watch emails, PDF versions of the page and HTML export.

      1. Jun 08, 2006

        Bob Swift says:

        CHRT-14 partially documents the issue. You might want to add a comment to that i...

        CHRT-14 partially documents the issue. You might want to add a comment to that issue. I am considering adding an enhancement that would (optionally) have the chart generated to an attachment similar to a couple of other instances where this is done. This would enable remote access as well as enable the cache macro to work for charts. Probably will not get around to this for a number of weeks.

        1. Jan 26, 2007

          Tomi Nummi says:

          Any progress on this issue, we are using macros together would make our life m...

          Any progress on this issue, we are using macros together would make our life much easier...

          1. Jan 26, 2007

            Bob Swift says:

            Yes, CHRT-38 is done. This optionally enables chart images to be saved as attac...

            Yes, CHRT-38 is done. This optionally enables chart images to be saved as attachments. So remote access and email will work for charts that use this option. The general issue CHRT-14 remains open - with no good solution available.

  8. Jun 23, 2006

    Mike Cannon-Brookes says:

    Bob - is it possible using the current macro to get the line chart, but NOT to d...

    Bob - is it possible using the current macro to get the line chart, but NOT to display the bullets at each point? When you have lots of data points on a small chart, the lines are effectively 4px wide because they're just bullets

    1. Jun 23, 2006

      Bob Swift says:

      I think it is possible in the library in customize this, but, doesn't look like ...

      I think it is possible in the library in customize this, but, doesn't look like it is exposed here for a line chart. Please write up an issue for this. In some cases the xyLine chart type might work for you and it doesn't have points.

      1. Jul 07, 2006

        Bob Swift says:

        CHRT-26 has been created and will go out with next release.

        CHRT-26 has been created and will go out with next release.

  9. Jul 06, 2006

    Bob Swift says:

    Doug, the markup you provided doesn't quite match your example. The data doesn't...

    Doug, the markup you provided doesn't quite match your example. The data doesn't correspond to your format yyyy.MM.DD. It looks more like yyyy.DD or yyyy.MM. So changing the format to one of these works. It is good you provided the actual data since the sql stuff is hard to reproduce. I would guess you are using MSSQL? I am not familar with the convert function and what it produces so I have to guess - is it providing yyyy.DD (where DD is number of the day in the year - like 189) or does it produce yyyy.MM.dd (where dd is the number of the day in the month)? It is very unlikely it would be yyyy.MM.DD since that is not very meaningful. See the notation guide for all date format meanings. If you still think there is a problem, please open a bug report and we can converse through that. Thanks.

    1. Jul 07, 2006

      Doug Tung says:

      Bob, thanks. I updated the sample and posted the issue at CSP-4515. Thanks.

      Bob, thanks. I updated the sample and posted the issue at CSP-4515. Thanks.

      1. Jul 07, 2006

        Bob Swift says:

        I don't have access to that site. You need to create an issue for the chart plu...

        I don't have access to that site. You need to create an issue for the chart plugin at http://developer.atlassian.com/jira/browse/CHRT.

    2. Mar 11, 2007

      Liberty Miller says:

      Please note: this thread originally began with the post that is repeated here. I...
      Please note: this thread originally began with the post that is repeated here.
      It was deleted and moved here because the non-breaking format used in the original message
      ruins the page display for all users with a screenwidth of 1280 or less.

      = begin original comment : Posted by Doug Tung at Jul 06, 2006 15:33 =

      I'm having a problem where the 1st data row in the 2nd series is missing and I get 2 legend entries for the second series. Any ideas?

      I'm doing an xy time series with 2 sql tables. Both tables have a header. The data looks like:

      date x1
      2006.1 10
      2006.2 11
      date x2
      2006.1 4
      2006.2 8

      The 1st data row of the second table does not show up. And, the legend shows 3 series: x1, x2, and x2.

      The actual markup is:

      {chart:type=timeSeries|dateFormat=yyyy.MM.DD|timePeriod=Day|title=Me
      ssage Traffic By Day|dataDisplay=true|width=1000|height=500|legend=t
      rue|xLabel=Date|dataOrientation=vertical|domainAxisTickUnit=1}
      
      {sql:dataSource=alpha|output=wiki}
      select convert(char(10),date,102) as 'Date', count(*) as invitations_sent
      from distributionrecipients dr, distributions d
      where d.id = dr.distribution_fk
      group by convert(char(10),date,102)
      order by convert(char(10),date,102)
      {sql}
      
      {sql:dataSource=alpha|output=wiki}
      select convert(char(10),date,102) as 'Date', count(*) as responses_received
      from distributionactions
      where action_type='RESPONSE'
      group by convert(char(10),date,102)
      order by convert(char(10),date,102)
      {sql}
      
      {chart}
      

      Posted by Doug Tung at Jul 06, 2006 15:33 | Remove | Reply To This

      1. Mar 11, 2007

        Jean Marois says:

        Doug, A work-around would be to use a single sql query with a union. e.g. selec...

        Doug,
        A work-around would be to use a single sql query with a union. e.g.

        select convert(char(10),date,102) as 'Date', count as invitations_sent, null as responses_received
        from distributionrecipients dr, distributions d
        where d.id = dr.distribution_fk
        group by convert(char(10),date,102)
        order by convert(char(10),date,102)
        union
        select convert(char(10),date,102) as 'Date', null as invitations_sent, count as responses_received
        from distributionactions
        where action_type='RESPONSE'
        group by convert(char(10),date,102)
        order by convert(char(10),date,102)

        You may have to move the 'order by' clause out into a surrounding select SELECT statement.

        Jean

  10. Jul 12, 2006

    David Peterson [CustomWare] says:

    Could you please repost your example, but put it in a {noformat} macro this time...

    Could you please repost your example, but put it in a {noformat} macro this time - it's hard to tell what the problem might be without being able to see what your parameters are. Thanks.

  11. Jul 12, 2006

    Amit Khullar says:

    Hi, Please find the code again. {scaffold:IMX} {table-data:AutomatedTestin...

    Hi,
    Please find the code again.

    {scaffold:IMX}
    {table-data:AutomatedTesting}
    || Product / Module Name || Pass || Fail || NA || Total ||
    | {text-data:AName} | {number-data:APass} | {number-data:AFail} | {number-data:ANA} | {eval-data:Total}${APass}+${AFail}+${ANA}{eval-data} | 
    {table-data}
    {scaffold}
    {chart:title=Test Matrix |type=line|width=500|height=300|legend=true}
    || || Pass || Fail || NA ||
    || ${AName} | ${APass} | ${AFail}| ${ANA} |
    {chart}
    

    Basic Idea is I can add rows in the scaffold at runtime and once I press the apply button in Scaffold the Graph gets updated.

    Regards
    Amit Khullar

    1. Jul 13, 2006

      David Peterson [CustomWare] says:

      Ok, I see what you're after now. It's not easy to get it working with the table ...

      Ok, I see what you're after now. It's not easy to get it working with the table above the chart, but you can do what you're after with the table listed below the chart fairly easily. The following will do the latter:

      {scaffold:IMX}
      
      {chart:title=Test Matrix|type=line|width=500|height=300|legend=true|dataDisplay=true|dataOrientation=vertical}
      
      {table-data:AutomatedTesting}
      || Product / Module Name || Pass || Fail || NA || Total ||
      | {text-data:AName} | {number-data:APass} | {number-data:AFail} | {number-data:ANA} | {eval-data:Total}${APass}+${AFail}+${ANA}{eval-data} | 
      {table-data}
      
      {chart}
      
      {scaffold}
      
      

      By putting the table-data inside the chart and adding the 'dataDisplay=true' parameter the chart will still show the table, which means you can add rows. However, it won't display correct charts while you're editing, the reason being that the cart can't interpret input boxes, only plain text. However, once you hit 'ok', it looks fine. I've thrown a demo of the above in the randombits.org sandbox.

      Note also that I added a 'dataOrientation=vertical' parameter so that build numbers are listed on the x axis instead of Pass/Fail/NA/Total. And finally, because you have the total column listed, it will be shown in the chart. Not sure how to get around that one...

      If you really need it to display the table above the chart, it would be fairly easy to add something like 'dataDisplay=above' to a future version of the chart macro. But it will be tricky at the moment.

      1. Jul 13, 2006

        Amit Khullar says:

        HI David,            &nb...

        HI David,

                        Thanks for the prompt reply It has solved my purpose to some extent but I still have one issue which is that I dont have just these 4 columns only in my scaffold I have multiple cols and then the chart will try to render them all. I will try to see if at all how can I achieve or may be we need to raise an improvement where the Chart plugin can accept the Col Names as parameter to render them.

        Regards

        Amit Khullar

        1. Jul 13, 2006

          David Peterson [CustomWare] says:

          Yeah, a feature like that did occur to me while I was writing the example. It's ...

          Yeah, a feature like that did occur to me while I was writing the example. It's probably worth raising it anyway - it would definitely come in handy at times, particularly if you're dealing with a dataset you don't have any control over.

          1. Jul 13, 2006

            Amit Khullar says:

            http://developer.atlassian.com/jira/browse/CHRT-28  Added issue for th...
        2. Jul 13, 2006

          Amit Khullar says:

          Just look at this code snippet and see if there is a possibility that 1: both t...

          Just look at this code snippet and see if there is a possibility that

          1: both the graphs be displayed adjacent to each other and

          2: any way possible to replicate the same deck multiple times.

          3:  Also is there any way in which we can have nested decks.

           http://confluence.atlassian.com/x/VcIC

          Some how the webpage is not rendering properly I dont know why ( may abe all the macros I am using are not installed) , but u can still edit and look into the code.

          Waiting for your response.

          Regards

          Amit Khullar

          1. Jul 14, 2006

            David Peterson [CustomWare] says:

            Hi Amit, The deck/card and scaffolding plugins aren't installed on this site. I...

            Hi Amit,

            The deck/card and scaffolding plugins aren't installed on this site. I've copied your example to a page on my site which does have the plugins in question installed. If you have a look at it, you'll see it looks better, but still has some problems. To answer your questions:

            1: Not quite sure what you mean here? As in have two charts on the same line? You could probably do that using {section} and {column} macros to put one in each column.

            2: What exactly do you mean by replicate? As in, allow the deck to be replicated with a scaffold? Not really at this point.

            3: Yes, you can nest decks. Just make sure you're keeping track of opening and closing all the decks and cards correctly and you should be fine.

            David

  12. Jul 27, 2006

    Victor Rodrigues says:

    How does one use domainAxisUpperBound when using timeseries charts?

    How does one use domainAxisUpperBound when using timeseries charts?

    1. Jul 27, 2006

      Bob Swift says:

      You were probably trying to use time format for the value and unfortunately that...

      You were probably trying to use time format for the value and unfortunately that doesn't work as yet. Currently you have to use the double value which is very inconvient. Write up an improvement issue please.

      1. Jul 27, 2006

        Victor Rodrigues says:

        Thanks for the info Bob. As I have not worked with Java, what are the value rang...

        Thanks for the info Bob. As I have not worked with Java, what are the value ranges one will need to use?

  13. Aug 29, 2006

    Victor Rodrigues says:

    Using Julian dates in domainAxisUpperBound and domainAxisLowerBound does not see...

    Using Julian dates in domainAxisUpperBound and domainAxisLowerBound does not seem to work. E.g. I have set domainAxisUpperBound=2454009.49999 and the chart displays not values. Any ideas?

  14. Oct 24, 2006

    Bob Swift says:

    Chart plugin - saving chart image as attachment.
  15. Nov 16, 2006

    Santosh Kumar says:

    Hi There, After SiteMinder Integration with Confluence for SSO, the image (a pi...

    Hi There,

    After SiteMinder Integration with Confluence for SSO, the image (a pie chart) cannot be loaded.

    If we disable Siteminder the image loads.

    Would appreciate any input in this regard, we already have '.png'   in 'ignore extension' list in SiteMinder.

    Thanks in advance

    Regards

    Santosh

  16. Nov 20, 2006

    Andrew Whyte says:

    I have a bar grpah, showing indication of values for each day of a month. The pr...

    I have a bar grpah, showing indication of values for each day of a month. The problem is that with 30 data elements the graph cannot be made wide enough to display the full X-axis labels. They are reduced to '...' once there are 20 or more points of data.

    I can rotate the graph to be horizontal orinetation which then works, but havinf time sequence going verticle is un-normal and difficult for most to instantly interperate.

    What would be fantastic is if the Chart Macro, could allow text/label rotation to print the series labels on the X-axis verticlly below the data instead on only being horizontal.

     Any chance this is a simple fix and might make it into the next version? Or is there a way I can do this already, that just isn't documented or immediatly obvious.

    Thanks.

    1. Nov 20, 2006

      Bob Swift says:

      Andrew, yes, this is a good request. Please write up an issue to track it. A n...

      Andrew, yes, this is a good request. Please write up an issue to track it. A new release is coming soon and I will try to include this.

      1. Mar 05, 2007

        Bob Swift says:

        Available in version 1.7.

        Available in version 1.7.

  17. Mar 05, 2007

    Christopher Christophorou says:

    Hi, is there a way for this macro to create a dual axis chart? If not I think t...

    Hi,

    is there a way for this macro to create a dual axis chart? If not I think that would be a great feature to have.

    Great macro by the way!

    Chris

    1. Mar 05, 2007

      Bob Swift says:

      Not currently. See CHRT-11 and add your vote and comments there on what you wou...

      Not currently. See CHRT-11 and add your vote and comments there on what you would like. Or create a new issue if that does not cover it.

  18. Mar 20, 2007

    Greg Smith says:

    Since our move to 2.3.1 the chart plugin has been failing on us. When trying to...

    Since our move to 2.3.1 the chart plugin has been failing on us.

    When trying to render the simple chart about fishes above it gives us the following error.

    Error formatting macro: chart: java.lang.NoClassDefFoundError

    Any ideas? 

    1. Mar 20, 2007

      Bob Swift says:

      There is not enough information to help you. Please open an issue with Confluen...

      There is not enough information to help you. Please open an issue with Confluence version, plugin version, and log information that describes the error you are seeing.

  19. Apr 22, 2007

    Juan Alonso says:

    It would be great if you select a timeSeries and there is no value for a datapoi...

    It would be great if you select a timeSeries and there is no value for a datapoint that the plugin set it to 0 and not interpolate to the newest known value. Maybe as an option?

    The problem: If I graph the new registered users by day directly from my users table and there is no user registration for one day then this datapoint won't have 0 users registered.

    1. Sep 18, 2007

      Bob Swift says:

      Does CHRT-50 cover your request?

      Does CHRT-50 cover your request?

  20. Apr 22, 2007

    Mark Derricutt says:

    Is it possible to include the data values on the graph points at all?  I've...

    Is it possible to include the data values on the graph points at all?  I've had this request from one of our users a number of times and kept forgetting to chase it up...

    1. Sep 18, 2007

      Bob Swift says:

      I believe it is possible in the underlying support, but needs to be surfaced in ...

      I believe it is possible in the underlying support, but needs to be surfaced in the plugin. Please create an issue to track your request.

  21. Aug 31, 2007

    neeraj says:

    Hi  I try this code in VM file but this code is not rendering it just show...

    Hi

     I try this code in VM file but this code is not rendering it just show whole code ......... in page

    $helper.renderConfluenceMacro(



    )

    what is exact  code for chart macro in $helper.renderConfluenceMacro (String)?

    how can we change  new line in VM file for large String   which is used in    $helper.renderConfluenceMacro (String)?

    if we write chart plugin in a single line it is not working

    thanks

    Neeraj

  22. Sep 18, 2007

    Stephen Morad says:

    Is it possible to create a combo chart like the one below?

    Is it possible to create a combo chart like the one below?

    1. Sep 18, 2007

      Bob Swift says:

      Check CHRT-11 and if that matches your requirement, you can add more examples an...

      Check CHRT-11 and if that matches your requirement, you can add more examples and vote for it.

      1. Sep 24, 2007

        Stephen Morad says:

        That's exactly what I'm looking for.  I've voted for it and am now watching...

        That's exactly what I'm looking for.  I've voted for it and am now watching this feature request.

    2. Dec 20, 2007

      Pramod Kumar says:

      I have been using chart plugin for sometime, need to check if we can generate ba...

      I have been using chart plugin for sometime, need to check if we can generate bar chart just like the one above where there

      is no spaces between the bars? I was unable to find a parameter to control that, if someone knows please let me know.

      One more question can I control the background color of the chart? for example in the above chart the backrogound color is grey

      Is there a parameter to control this. I know there is a bgcolor parameter, but it referes to a different background and not the one

      I am trying to mentione here.

      1. Dec 20, 2007

        Bob Swift says:

        Before, after, and between spacing (margins) can be controlled but these are n...
        1. Before, after, and between spacing (margins) can be controlled but these are not currently exposed as parameters. Please write up an issue.
        2. bgColor sets the chart background and another parameter is needed to set the plot background color. Oversight on my part. Please write up an issue.
          Both of these are easy, so will likely appear in next revision.
  23. Sep 27, 2007

    Alexander Tzonev says:

    I have an issue using table-data macro with chart plug-in. Here is the code I u...

    I have an issue using table-data macro with chart plug-in.

    Here is the code I use:
    {chart:title=Burn Down Graph|type=line|width=900|height=300|legend=true|displayData=true|dataOrientation=vertical}
    {table-data:BURNDOWN}
    || Day || Steady Pace || Actual ||
    | {text-data:DAY} | {number-data:PACE} | {number-data:ACTUALREMAINING} |
    {table-data}
    {chart}
    I expect to see 2 lines, but I see just the line for the last one.

    I may be missed it in the posts, but I also skip the first row of the data. The first data row appears as a legend.

    I use the following data:

    Day Steady Pace Actual
    0 5 5
    1 4 5
    2 3 4
    3 2 4
    4 1 2
    5 0 0

    and receive the following result:

    Can anyone tell me if he/she experienced such a problem and how can I solve it?

    1. Oct 03, 2007

      Mei Yan Chan says:

      Hi Alexander, Perhaps you would like to raise an support ticket at the issue tr...

      Hi Alexander,

      Perhaps you would like to raise an support ticket at the issue tracker.

      Regards,
      Mei

    2. Nov 06, 2007

      Gabor Maghera says:

      I am getting the same result as Alexander.  First row of data does not show...

      I am getting the same result as Alexander.  First row of data does not show, and its y-value shows up as the header.

      Surprisingly, if you try to stick a string value into the y-value of the first row (since it shows up as the legend), you get an error saying it has to be a numeric value.

      1. Nov 07, 2007

        Bob Swift says:

        Please verify that the chart plots successfully when you just use the same data ...

        Please verify that the chart plots successfully when you just use the same data in a regular table (without the table-data macro). If this shows correctly, that says that the problem is with the html produced by the table-data marco - therefore you need to open an issue with that. There have been a few cases where other macros do not quite produce the proper html for the DOM processing the chart macro uses to interpret the table data.

  24. Oct 05, 2007

    Naveen Malhotra says:

    Is there the ability to create a 100% Stacked Bar Chart.

    Is there the ability to create a 100% Stacked Bar Chart.

    1. Oct 16, 2007

      Bob Swift says:

      Not sure exactly what you mean, but the parameter is stacked=true for stacked ch...

      Not sure exactly what you mean, but the parameter is stacked=true for stacked charts. If that is not it, create an issue that describes exactly what you want.

  25. Oct 16, 2007

    Bob Swift says:

    If you are using the attachment parameter, use a file name that includes an imag...

    If you are using the attachment parameter, use a file name that includes an image extension like .png at least until CONF-9733 gets fixed,

  26. Oct 18, 2007

    Naveen Malhotra says:

    Thanks.  I was using the stacked parameter.  However, I wanted my data...

    Thanks.  I was using the stacked parameter.  However, I wanted my data results to be treated as a percentage of the total sum across categories.  I actually was able to get it resolved by changing my sql.  I'll put an issue in to have that type of chart added.   

  27. Oct 31, 2007

    Alex Chapman says:

    Is it possible to support dashed lines on the line chart? I'm trying to automate...

    Is it possible to support dashed lines on the line chart? I'm trying to automate some of the charts we've been producing with Excel, and folks are used to seeing target/goal lines as dashed. Perhaps another attribute like "styles" similar to the "colors" attribute? colors=red,green,blue|styles=solid,solid,dashed
    If this isn't already logged and you think it is worthwhile, I can log it as a feature request with an example.

    1. Oct 31, 2007

      Bob Swift says:

      Yes, that should be possible, probably just missed it. Please write up an issue...

      Yes, that should be possible, probably just missed it. Please write up an issue!

      1. Nov 03, 2007

        Alex Chapman says:

        Done. CHRT-54. Thanks.

        Done. CHRT-54. Thanks.

  28. Nov 03, 2007

    Alex Chapman says:

    Can charts be made into links? So that someone can click "through" the chart to ...

    Can charts be made into links? So that someone can click "through" the chart to get to a page with more information? I tried a few different syntaxes without success. For example...

    [Representative Information|{chart}
    || || Democrat || Republican || Independent ||
    || Mascots | 40 | 40 | 20 |
    {chart}]

    Is there a macro I can use for this? Or does {chart} have an attribute that would support this?

    1. Nov 04, 2007

      Bob Swift says:

      Not supported now, but sounds like a reasonable request

      Not supported now, but sounds like a reasonable request

      1. Nov 04, 2007

        Jean Marois says:

        I believe JFreeChart supports imagemap-like functionality, so could this request...

        I believe JFreeChart supports imagemap-like functionality, so could this request be generalized, i.e., a link for the entire chart and links for series or individual points.

        1. Nov 04, 2007

          Bob Swift says:

          That would be nice! Please write up an issue.

          That would be nice! Please write up an issue.

  29. Nov 08, 2007

    U Walls III says:

    Hey Bob is there a way to overlay two diffrent graphs. I would like to have ...

    Hey Bob is there a way to overlay two diffrent graphs. I would like to have 2 completly diffrent graphs, shown toghter?

    1. Nov 10, 2007

      Bob Swift says:

      See if CHRT-11 covers your request. If so, add your comments and examples to th...

      See if CHRT-11 covers your request. If so, add your comments and examples to that. If not, please create a new issue.

  30. Jan 14, 2008

    David Hennessy says:

    Hi all! Happy New Year I am trying to create a scatter graph (at least I a ...

    Hi all! Happy New Year

    I am trying to create a scatter graph (at least I a think that is what it is called in the context of this plugin) to display a series of dots on according to thier x and y values.  However when using this macro (see below) all I get is 8 dots on a grid instead of 4 dots that have been arranged according to the xy values. What am I doing wrong? :   Thanks for the help

     

    macro

     {chart:title= title\|type=scatter\|width=800\|height=600\|legend=true \|yLabel=yvalue\| xLabel=xvalue}
    |Person1 | 3.23 |  3.27 |
    | Person2 |  3.22 |  4.37 |
    | Person3 | 1.43 |  2.28 |
    | Person4 | 1.29 | 2.08 |
    | Person5 | 4.40 | 3.19 |
    
    {chart}
    


    1. Feb 07, 2008

      Bob Swift says:

      Not exactly sure what you want it to look like with the data you have, but: ...

      Not exactly sure what you want it to look like with the data you have, but:

      {chart:title= title|type=scatter|width=300|height=200|legend=true|yLabel=yvalue|xLabel=xvalue|dataorientation=horizontal}
      | Person  |   4 | 5 |
      | Person1 | 3.23 |  3.27 |
      | Person2 |  3.22 |  4.37 |
      | Person3 | 1.43 |  2.28 |
      {chart}
      
      1. May 19, 2009

        david fannon says:

        Great Plugin. I also am looking for "scatter" functionality, by which I mean th...

        Great Plugin. I also am looking for "scatter" functionality, by which I mean the ability to plot specific X,Y points on the Cartesian grid coordinates. I (and I think David) want to have it look something like this:

        x y
        3.23 3.27
        3.22 4.37
        1.43 2.28
        1.29 2.08
        4.40 3.19

        As you can see, each data point is represented by a pair of coordinates, so 1.29 is an X value, and 2.08 is the corresponding Y value. That point should have a unique shape/color, and the legend should label it as "Person4."

        As you can see below, I had to put all the data into one "series" called "y" to get these graphics. But what I really want are a list of "series" names (Person1, Person2...PersonN) with a domain and range coordinate for each.

        {chart:type=scatter|title=Plot| rangeAxisLowerBound=0| rangeAxisUpperBound=5| rangeAxisTickUnit=1| domainAxisLowerBound=0|  domainAxisUpperBound=5| domainAxisTickUnit=1|  dataDisplay=true| dataOrientation=vertical}
        | x | y |
        | 3.23 |  3.27 |
        | 3.22 |  4.37 |
        | 1.43 |  2.28 |
        | 1.29 | 2.08 |
        | 4.40 | 3.19 |
        {chart}
        

        Bob, in your example it looks like you assigned domain values of 4 and 5, and treated both the X and Y coordinates David provided as range values. I believe this is more like a "series" (as in "timeSeries") functionality, in the sense that all allowable domain values are pre-defined, and every series must have a range value for each domain value.

        Am I missing something or is scatter just not possible? Thanks!

        1. Dec 13

          Laurence Lock Lee says:

          I'm looking for an answer for this as well.....did it ever get resolved?

          I'm looking for an answer for this as well.....did it ever get resolved?

  31. Feb 07, 2008

    Joseph Sagir says:

    Hi there I am using the 'dataDisplay' to show the actual data table and I need ...

    Hi there

    I am using the 'dataDisplay' to show the actual data table and I need to add currency ($) symbol to the numbers.

    Is this possible...?

    Thanks

    Joseph

    1. Feb 07, 2008

      Bob Swift says:

      Yes, here is an example. Note the forgive parameter defaults to true. Rev...

      Yes, here is an example. Note the forgive parameter defaults to true.


      Revenue Software Hardware Services
      2007 $55M $25M $20M
      {chart:displayData=true|legend=true}
      || Revenue || Software || Hardware || Services ||
      || 2007 | $55M | $25M | $20M |
      {chart}
      
  32. Feb 21, 2008

    Margaret Martin says:

    Hi there! Great plugin! I am trying to utilize the ability to not chart ...

    Hi there! Great plugin! I am trying to utilize the ability to not chart 0 values as referred to in CHRT-50, but am not meeting with much success. The simplest version of what I am attempting to chart is:

    {chart:title=Burndown\|type=line\|width=500\|height=300\|legend=true\|dataorientation=vertical}
    || || Actual || Optimal ||
    | Start 6.7 work | 216 | 216 |
    | Sprint 5 | 157 | 180 |
    | Sprint 6 | | 144 |
    | Sprint 7 | | 108 |
    | Sprint 8 | | 72 |
    | Sprint 9 | | 36 |
    | Sprint 10 | | 0 |
    {chart}
    

    resulting in:

    I'm also curious if there is any way to get the first datapoint to intersect with the y axis instead of out in the chart, but that is a lesser concern.

    Can someone give me some idea what I'm missing? Thanks a bunch.

    1. Feb 21, 2008

      Bob Swift says:

      It is not released yet, so unless you got the plugin directly out of SVN, you do...

      It is not released yet, so unless you got the plugin directly out of SVN, you do not have the support. I don't know when David is planning on releasing it.

      1. Feb 22, 2008

        Margaret Martin says:

        Oh, bummer. I didn't notice that. Thanks Bob. BTW, off the top of your head, do ...

        Oh, bummer. I didn't notice that. Thanks Bob. BTW, off the top of your head, do you know how I can shift my chart over so that my first data point is actually 0 on the x axis?

        1. Feb 22, 2008

          Bob Swift says:

          I don't think the axis customization covers that for category plots. Suggest wr...

          I don't think the axis customization covers that for category plots. Suggest writing up an issue to track the request.

  33. Feb 22, 2008

    Lisa says:

    Is it possible to create a combination chart (i.e. a line-bar chart)?

    Is it possible to create a combination chart (i.e. a line-bar chart)?

    1. Feb 22, 2008

      Bob Swift says:

      CHRT-19 is probably what you are looking for. If so, vote for that and add any ...

      CHRT-19 is probably what you are looking for. If so, vote for that and add any additional comments. Otherwise, create an issue.

  34. Mar 14, 2008

    Stefan Kunz says:

     I get the following data from a stored sql procedure Value Scenario...

     I get the following data from a stored sql procedure

    Value Scenario Date
    1240 1 2006-12-31
    2935 2 2006-12-31
    1190 1 2007-03-31
    1880 2 2007-03-31
    1080 1 2007-04-30
    2300 2 2007-04-30

    and would like to display it in a bar chart, where each scenario is interpreted as a series. Whatever parametrization I tried I didn't succeed to display both series.

  35. Apr 01, 2008

    Jose Biton says:

    I'm trying to plot a time series using a bar chart. The chart displays as I'd li...

    I'm trying to plot a time series using a bar chart. The chart displays as I'd like except for the X-axis values. I tries to display all labels, but can not because of limited space. The first graph below displays all the data but no X-axis values, while the second displays the x-axis values, but not the full data set. I tried using the DomainTick parameter, but it did not work.

    I used the following code for both tables but limited the data in the second to only 12 months vs. 60 in the first.

    {chart:type=bar|title=Monthly Returns| dataOrientation=vertical| columns=1,6|width=1000| colors=#003366}
    
    1. Apr 02, 2008

      Mei Yan Chan says:

      Hi Jose, I believe the truncation of the x-axis values is very similar to the r...

      Hi Jose,

      I believe the truncation of the x-axis values is very similar to the report raised for the chart usage within Confluence itself. The issue can be viewed from:

      I'm currently not aware of any solutions to fix this problem, however, I would advise you to raise this issue within the issue tracker at:

      Regards,
      Mei

  36. Apr 06, 2008

    baher malek says:

    Hi all, Is there a way to have graph data entered / maintained using a friendly...

    Hi all,

    Is there a way to have graph data entered / maintained using a friendly UI (i.e. not csv) and still retain the versioning capabilities of the wiki?

    Eventually I'd like to graph across versions... not sure exactly how to do that either.

    Any thoughts???  Let me know.

    Thanks,

    Baher 

    1. Apr 07, 2008

      Ming Giet Chong says:

      Hi Baher, Alternatively, I would suggest you to raise a feature request at the ...

      Hi Baher,

      Alternatively, I would suggest you to raise a feature request at the issue tracker:

      Regards,
      MG

    2. Apr 07, 2008

      Stephen Morad says:

      We do this with the include macro.  Basically, we have a main dashboard wit...

      We do this with the include macro.  Basically, we have a main dashboard with all the charts.  The charts have two "special" characteristics:

        1. Their data comes from other pages (using the include macro)
        2. They are links to the data page (if you click on them, you get taken to the source page where the data can be easily edited

      The "data" pages consist soley of a table, so data can be easily edited in Rich Text Mode

      We don't have a requirement for graphing versions, but I'm pretty sure it's possible to come up with a way to include content from page versions.  The easiest would be if Atlassian included a "version" option with the include macro, but I don't think one exists right now.  I would probably start with looking at the Edit Include User Macro as a basis for creating a custom "include" macro for handling different page versions.

      Finally, you could also do some really powerful things with the Reporting Macro (for pulling data from other pages) and the Scaffolding Macro (for structuring the content in a page that is edited with a "live" template).

      1. Apr 10, 2008

        Fennie Ng says:

        Hi Stephen, Thanks for your suggestion. Feel free to raise a feature request at...

        Hi Stephen,

        Thanks for your suggestion. Feel free to raise a feature request at :

        http://jira.atlassian.com

        Do cast your vote to improve the popularity of the request. The more popular the request is, the better chance it has in getting implemented in the future.

        Regards,
        Fennie

  37. Apr 21, 2008

    George Brooks says:

    I can not download the latest build. I get a directory listing. what gives?

    I can not download the latest build. I get a directory listing. what gives?

    1. Apr 21, 2008

      Bob Swift says:

      Seems to be working. Are you sure you pointed at the jar and not the source lin...

      Seems to be working. Are you sure you pointed at the jar and not the source link (which is a directory)?

  38. May 23, 2008

    ming gong says:

    Hey guys, I'm trying to use the chart macro to graph the resultant table from th...

    Hey guys, I'm trying to use the chart macro to graph the resultant table from the Popular macro.  The graph came out ok excep it did not plot the 1st row of data since it thinks it's a header row.  The problem is that the table generated by the popular macro does not have a header row.  as a result, the first row of data in the table gets ignored.  I searched everywhere for a row to either add a header row to the output table from the Popular macro, or to somehow ask Chart macro to ignore checking for header row.  No luck so far.

     thanks!

    Ming

    1. May 23, 2008

      Bob Swift says:

      Are you referring to the FeedBurner Plugin? There is a charting example there. ...

      Are you referring to the FeedBurner Plugin? There is a charting example there. The first row is used to determines the category etc... depending on the chart type. Perhaps you should write up an issue with more specifics on the data you have and how it is generated.

      1. May 24, 2008

        ming gong says:

        Hi Bob, I was using a combination of chart and Popular macro. Here is ...

        Hi Bob, I was using a combination of chart and Popular macro. Here is the wiki markup:

        {chart:type=bar\|width=800\|height=600\|dataOrientation=vertical\|orientation=horizontal\|dataDisplay=true}
        {popular:timespan=7d\|display=count\|events=view\|max=50}
        {chart}
        

        and here is the results. as you can see, the first line in the table did not get plotted in the chart.

        1. May 25, 2008

          Bob Swift says:

          Ming, the popular macro is not well documented and appears to be an Atlassian ma...

          Ming, the popular macro is not well documented and appears to be an Atlassian macro. It needs to provide a header row for the chart macro to work properly. In your example, notice the 592 category in the legend. The first row gives the category name for the column. The chart macro could provide an option to not have a category row, but, it makes more sense to change the popular macro to make it more standard and usable.

          1. May 25, 2008

            ming gong says:

            Hi Bob, I agree make popular macro to output a header row(optionally) is a way t...

            Hi Bob, I agree make popular macro to output a header row(optionally) is a way to go.  However, the advantage of adding an option to chart macro to not require a header row is to increase its flexibility.  This way, you can use this macro with other non-standard macros that may do the same thing (i.e. omit the header row). 

            In any case, how can we make either changes happen? 

            Or, is there another way to accomplish what I'm trying to accomplish (i.e. graph the results from the popular macro)? I was trying to integrate a header row with popular macro by using the tableplus macro to tie them together. But it didn't work.

            Ming

            1. Jun 11, 2008

              Fabio Paiano says:

              Hello Ming, I was trying to create a pie chart from the popular macro and had e...

              Hello Ming,

              I was trying to create a pie chart from the popular macro and had exactly the same problem as you. Did you have any luck in trying to find out a way to create a header row for the popular macro? That would solve my problem too.

              Fabio 

              1. Jun 11, 2008

                ming gong says:

                Sorry Fabio. no luck so far. Bob, where do we go from here?  it's quite im...

                Sorry Fabio. no luck so far.

                Bob, where do we go from here?  it's quite important for us to get this to work so we can monitor our site usage. thanks for your time!

                Ming

                1. Jun 11, 2008

                  Bob Swift says:

                  Open a support request to Atlassian. If the code for the popular macro is in SV...

                  Open a support request to Atlassian. If the code for the popular macro is in SVN, its probably a simple change to add a header row.

                  1. Jul 30, 2008

                    Fabio Paiano says:

                    I would suggest that anyone interested in using this plugin with the {popular} m...

                    I would suggest that anyone interested in using this plugin with the {popular} macro from the Usage tracking Plugin should cast their votes for this JIRA issue:

                    http://developer.atlassian.com/jira/browse/USGTRK-5

  39. Jun 05, 2008

    Bharathi says:

    Hi Bob, I am using Chart plugin two versions - one works all fine but the lates...

    Hi Bob,

    I am using Chart plugin two versions - one works all fine but the latest version doesnot work it is giving me following error:
    Chart macro: Error with chart data
    You are attempting to add an observation for the time period April 1992 but the series already contains an observation for that time period. Duplicates are not permitted. Try using the addOrUpdate() method.

    I checked the data in the database there are no duplicate for this month. the same code works on another server which has chart plugin version 1.5 . this new server has 1.9 (latest). Please help ..
    I am not sure what i did wrong.

    {chart:type=timeSeries|dateFormat=MM-yy|timePeriod=Month|title=Production By \\ Month (Red=coco, Green=milk, Blue=Water)|legend=false| width=1100|height=400|dataOrientation=vertical|rangeAxisLowerBound=0|colors=aqua,lime,aqua,aqua,red,aqua,aqua,aqua}
    || Month || COCO ||
    {sql:datasource=OracleDS|p1=$API|heading=0|output=wiki}
    select to_char(prod_dte,'mm-yy') Month, mnly_coco_qty from MNLY_TOTL_VW where api_nbr = ?{sql}
    || Month || MILK ||
    {sql:datasource=OracleDS|p1=$API|heading=0|output=wiki}
    select to_char(prod_dte,'mm-yy') Month, mnly_MILK_qty from mms.MNLY_TOTL_VW where api_well_nbr = ?{sql}
    || Month || Water ||
    {sql:datasource=OracleDS|p1=$API|heading=0|output=wiki}
    select to_char(prod_dte,'mm-yy') Month, mnly_wtr_qty from mms.MNLY_TOTL_VW where api_well_nbr = ?{sql}
    {chart}
    

    Thanks
    Bharathi

    1. Jun 04, 2008

      Bob Swift says:

      Open an issue and put in your wiki markup with {noformat} tags.

      Open an issue and put in your wiki markup with {noformat} tags.

      1. Jun 05, 2008

        Bharathi says:

        Bob, I opened an issue ticket - CHRT-77 -Chart macro: Error with chart data Try ...

        Bob,
        I opened an issue ticket - CHRT-77 -Chart macro: Error with chart data Try using the addOrUpdate() method.

        Thanks
        Bharathi

  40. Jun 27, 2008

    Brandon Faloona says:

    Can I create a pie chart without any pieSectionLabels? I'd like a simple Red/Gre...

    Can I create a pie chart without any pieSectionLabels? I'd like a simple Red/Green/Yellow status indicator, and the labels (in this case) just clutter it up.
    !chart65842png.png! 
     

    1. Jun 27, 2008

      Bob Swift says:

      hmmm... apparently not. Please write up an improvement request issue.

      hmmm... apparently not. Please write up an improvement request issue.

  41. Jul 16, 2008

    Roland König says:

    Hi, I would like to create a bar-chart with two y-axis (similar to that one bel...

    Hi,

    I would like to create a bar-chart with two y-axis (similar to that one below).

     
    How's it possible to create that? 

    Thank's for your help in advance.

     Roland 

    1. Jul 24, 2008

      Ming Giet Chong says:

      Hi Roland, You can try adding the "orientation=horizontal" parameter to see if ...

      Hi Roland,

      You can try adding the "orientation=horizontal" parameter to see if it helps. For example:

      {chart:title=Temperatures in Brisbane|type=bar|width=400|height=350|legend=true|orientation=horizontal}
      || || January || February || March || April ||
      || Max | 37.5 | 32.7 | 28.0 | 25.3 |
      || Min | 31.3 | 26.8 | 25.1 | 18.7 |
      {chart}
      

      Regards,
      MG

    2. Jul 24, 2008

      Bob Swift says:

      You will need CHRT-11 implemented. You can vote for it.

      You will need CHRT-11 implemented. You can vote for it.

  42. Aug 05, 2008

    Roberto Dominguez says:

    I want to create pie-charts based on a query on labels and metadata values. Want...

    I want to create pie-charts based on a query on labels and metadata values. Want to how many pages containing a given list of labels i.e. a {labelcount} macro:

    {chart}
        {labelcount:labels,label_1,label_2,label_3}
    {chart}
    

    would generate something like:

    Something similar for Metadata values:

    {chart}
        {metadatacount:Country|parent=Clients}
    {chart}
    

    Is this something that could be done with the reporting plugin? I didn't see it as "Macros known to be allowed in the body of the chart macro"... I was thinking writing these macros as they're relatively simple, but I don't want to re-invent the wheel.

    1. Aug 14, 2008

      Ming Giet Chong says:

      Hi Roberto, It seems that you want to have intercommunication between plugin. Y...

      Hi Roberto,

      It seems that you want to have intercommunication between plugin. You can communicate or get a result from another macro plugin if the other plugin provides you webservice. Otherwise, it can not be done. As I notice that the chart macro does not provide you any webservice, the query seems cannot be fulfilled.

      Regards,
      MG

    2. Aug 14, 2008

      David Peterson [CustomWare] says:

      Web services aren't really the issue here. You just need a macro which will outp...

      Web services aren't really the issue here. You just need a macro which will output a table in the expected format.

      You can almost do it with Reporting. This will list all labels in the current space:

      {chart}
      {report-table:injected=true}
      {local-reporter:content:space > space:labels in content}
        {text-filter:label:title|include=label_1, label_2, label_3}
      {local-reporter}
      {report-column:title=Name}%label:title%{report-column}
      {report-column:title=Content}%label:content count%{report-column}
      
      {report-table}
      {chart}
      

      If you want to create a graph for all spaces, or a set of spaces, automatically, you can wrap a {report-block}+{space-reporter} around the whole thing.

      The only thing missing to do it across all spaces is a 'global:labels in content' key. I'm not certain if such an API method exists. If so, it wouldn't be too difficult to add it in a future version. If that's useful to you, feel free to create a feature request and we'll see if we can add it at some point.

  43. Aug 07, 2008

    Sivakumar Venugopal says:

    Hi, I have installed chart plugin on one of my spaces. My only problem is, in B...

    Hi,

    I have installed chart plugin on one of my spaces. My only problem is, in Bar chart, I am not seeing the datalabels (on top of the bar) getting displayed. I have used the examples "fish sold" and 'Temperatures in Brisbane' still I am not seeing datalabels. Did anyone face this problem ? I have opened an issue and haven't got an update yet.

    Any suggestions ?

    Thanks in advance

    Regards

    Siva 

    1. Aug 07, 2008

      David Chui says:

      Hi Sivakumar, Please see my comment on the issue.

      Hi Sivakumar,

      Please see my comment on the issue.

      1. Aug 08, 2008

        Sivakumar Venugopal says:

        Hi David, Thank you for your reply. You can close the ticket. Regards Siva

        Hi David,

        Thank you for your reply. You can close the ticket.

        Regards

        Siva

  44. Aug 31, 2008

    JS says:

    This is a great plugin - thanks.  A question - are there any plans to add s...

    This is a great plugin - thanks.  A question - are there any plans to add support for Bubble charts, as in: 

    http://office.microsoft.com/en-us/excel/HA011170761033.aspx

    That would be really helpful and I don't see it in docs anywhere.

    1. Sep 03, 2008

      Tony Cheah Tong Nyee says:

      Hi there, I believe this is not possible at the moment. If you are keen on this...

      Hi there,

      I believe this is not possible at the moment. If you are keen on this feature, feel free to raise a new feature request in the plugin's Issue tracker at:

      Cheers,
      Tony

  45. Sep 22, 2008

    Kevin Oh says:

    Hi,  We started using this plug-in at my workplace and was wondering if th...

    Hi,

     We started using this plug-in at my workplace and was wondering if there is a way to get showShapes=true to work for time series graphs?

     Thanks

    Kevin

    1. Oct 21, 2008

      Ming Giet Chong says:

      Hi Kevin, To my understanding, the showShapes parameter only supported in Line ...

      Hi Kevin,

      To my understanding, the showShapes parameter only supported in Line Chart. However, if you are keen to see this feature in the future release, please raise a feature request at the plugin's issue tracker here:

      Hope this helps. Thanks.

      Regards,
      MG

  46. Oct 01, 2008

    Chris Grist says:

    is there any way to supply alt text for the chart macro output?

    is there any way to supply alt text for the chart macro output?

    1. Oct 10, 2008

      Azwandi Mohd Aris [Atlassian] says:

      Hi Chris, I would suggest you to lodge an improvement request at this plugin's ...

      Hi Chris,

      I would suggest you to lodge an improvement request at this plugin's issue tracker at http://developer.atlassian.com/jira/browse/CHRT. Hope that helps.

      Cheers,
      Azwandi

  47. Oct 29, 2008

    foobar says:

    I am using the chart plugin for a line graph with a sql query as the data source...

    I am using the chart plugin for a line graph with a sql query as the data source. For the most part, everything works as expected. The data on the X axis represents a 24 hour period with data collected in 3 minute intervals. My problem is that the time values are crammed together and not legible. I would like to have all points plotted but only every 10th time value printed on the x axis. How can I do this?

     I am calling the chart macro like this:

    {chart:title=Sample Graph|subTitle=All data points for the lastt 24 hours |type=line|dataDisplay=false|width=900|height=400|legend=true|dataOrientation=vertical|ylabel=Values|showShapes=false| categoryLabelPosition=down90}
    1. Jan 20, 2009

      Ming Giet Chong says:

      Hi Foobar, Can you please raise a support ticket via https://support.atlassian....

      Hi Foobar,

      Can you please raise a support ticket via https://support.atlassian.com and provide us the full wiki markup and screen shots so that we can try replicating this issue locally. Thanks.

      Regards,
      MG

    2. Jan 20, 2009

      Bob Swift says:

      Have you tried using the Axis Customization Parameters? Specifically domainAxis...

      Have you tried using the Axis Customization Parameters? Specifically domainAxisTickUnit?

  48. Nov 03, 2008

    Darren Martz says:

    Anyone know how to control NULL values in a time series chart? I have data like...

    Anyone know how to control NULL values in a time series chart?

    I have data like

    AsOf ColumnA ColumnB
    Jan 1, 2008 55 44
    Jan 2, 2008 54 45
    Jan 3, 2008 53 46
    Jan 4, 2008 52 47
    Jan 5, 2008 51 48
    Jan 6, 2008 50 49
    Jan 7, 2008   50

    Notice that ColumnA on Jan 7 does not have a value. Unfortunately it draws a line assuming a value of zero. Is there a way for the chart to simply stop drawing the line? I know it can be done by breaking up the data, but that can complicate things and make a longer page display.

    AsOf ColumnA
    Jan 1, 2008 55
    Jan 2, 2008 54
    Jan 3, 2008 53
    Jan 4, 2008 52
    Jan 5, 2008 51
    Jan 6, 2008 50
    AsOf ColumnB
    Jan 1, 2008 44
    Jan 2, 2008 45
    Jan 3, 2008 46
    Jan 4, 2008 47
    Jan 5, 2008 48
    Jan 6, 2008 49
    Jan 7, 2008 50

    Any ideas?

  49. Nov 06, 2008

    Daniel Cvetkovic says:

    Does anyone know how to change the Yaxis format to display as a % as apposed to ...

    Does anyone know how to change the Yaxis format to display as a % as apposed to a whole number. The plugin seems smart enough to work out that when I enter a value of 150% lets say in the source table, that it will plot it to a value of 1.5 however I want this displayed as 150%. Same as below chart however I don't require the 2 data axis.

    1. Jan 02, 2009

      Arie Murdianto says:

      Hi, It seems that the feature to display percentage is not available currently....

      Hi,

      It seems that the feature to display percentage is not available currently. Please raise a feature request to our JIRA regarding this query:

      * http://jira.atlassian.com

      Cheers,

  50. Jan 08, 2009

    Maximilian Friedmann says:

    Hi, great Plugin! I have a table for example with values between 85.000 an...

    Hi,
    great Plugin!

    I have a table for example with values between 85.000 and 85.100 and want to display them in a high resolution. So i have to set the parameters rangeAxisLowerBound and rangeAxisUpperBound manually to 85.000 and 85.100. The problem is, that i don't really know the lower and upper bounds. Is there any possibility to generate these parameters automatically?

    Cheers

    1. Feb 12, 2009

      Komathi Krishnan [Atlassian] says:

      Hi Max, If the rangeAxisUpperBound and rangeAxisLowerBound parameter is not se...

      Hi Max,

      If the rangeAxisUpperBound and rangeAxisLowerBound parameter is not set the plugin will automatically take 0 as rangeAxisLowerBound and the highest data value as rangeAxisUpperBound. Unfortunately there is no parameter to set resolution for charts, however there is a width and height parameter that you might want to use to resize the image.

      Hope that helps.

      Cheers,
      Komathi

  51. Jan 25, 2009

    Meredith Raymond says:

    Is there a parameter that determines the width of the bars in the bar chart?&nbs...

    Is there a parameter that determines the width of the bars in the bar chart?  In upgrading from 2.7 to 2.10, the bars were narrowed significantly.

    1. Feb 03, 2009

      Zed Yap [Atlassian] says:

      Hi Meredith, As far as I am concerned, the feature is not yet available. Howeve...

      Hi Meredith,

      As far as I am concerned, the feature is not yet available. However, I have raised an improvement report at CONF-14365. Feel free to add your comment to the discussion, vote on it and add yourself as a watcher for future updates. Also, bear in mind the following document on how we schedule features for inclusion in our products:

      At the meantime you would want to try using the width attribute to determine the width of the bar but it will change the graph width size along.

      Hope that helps.

      Best rgds,
      Zed

      1. Apr 07, 2009

        Bob Swift says:

        Zed, you should be opening chart plugin issues at http://developer.atlassian.com...

        Zed, you should be opening chart plugin issues at http://developer.atlassian.com/jira/browse/CHRT.

  52. Apr 07, 2009

    Ben Naftzger says:

    Hey guys, This is an awesome plugin. A couple of functionality questions if I m...

    Hey guys,

    This is an awesome plugin. A couple of functionality questions if I may...

    1. Width and colour of graph reporting line: would I be correct in saying that there is currently no abilty to specify the width or colour of the egde of an area graph (not around the entire chart but the actual reporting line along the edge of the area graph).
    2. Dynamic colour-shading / traffic light dashboards: Is there an ability automatically shade a graph a particular colour based on the performance of over the entire or a sub-section of the time frame being graphed? I would love to be able to extend the traffic light colouring system onto the charts that report on dynamic data, so that the graph is shaded green if the last 3 months of a 12 month period have consecutive growth of 5% each month or 10% over the entire last quarter.

    B

    1. Apr 08, 2009

      Bob Swift says:

      No, I don't think so, but this is likely available in the underlying API. Cre...
      1. No, I don't think so, but this is likely available in the underlying API. Create an issue.
      2. No. I doubt this is in the API. I suppose the macro could add that capability. In the meantime, a little bit of groovy could look at dynamic data and generate different chart macro requests with different colors settings. If its sql data, some well constructed sql generating the chart macro together with the Run Plugin could do it.
      1. Apr 07, 2009

        Ben Naftzger says:

        Thanks Bob I created an issue (CHRT-103). I'll see if my internal systems te...

        Thanks Bob

        1. I created an issue (CHRT-103).
        2. I'll see if my internal systems team will be up to the challenge when they work on automating my reports.
  53. Apr 08, 2009

    Ben Naftzger says:

    Hey guys, Got a few more for you: Multiple chart types: is there a way to mix...

    Hey guys,

    Got a few more for you:

    1. Multiple chart types: is there a way to mix and match similar chart types? Say an area chart with a line chart, so you could, for example, represent a target line on a chart in a discrete and complementary way rather than having it on par with the core data you are trying to present;
    2. Multiple opacities: Similar to how you can specify multiple colours, can you specify multiple opacities to align with those colours.

    I am trying to get something fancy rolling like this:

    1. Apr 08, 2009

      Bob Swift says:

      is probably covered by CHRT-11 and CHRT-19 not sure if that is in the API or ...
      1. is probably covered by CHRT-11 and CHRT-19
      2. not sure if that is in the API or not - that should be a new issue
      1. Apr 10, 2009

        Ben Naftzger says:

        Thanks Bob! Great. Created CHRT-104.

        Thanks Bob!

        1. Great.
        2. Created CHRT-104.
  54. Apr 30, 2009

    Appan Ponnappan says:

    There are many more visualization types but the two things that I am interested ...

    There are many more visualization types but the two things that I am interested in are Shneiderman's Treemap and TagCloud.

    Of course there is some out-of-box support for tagcloud in Confluence but I can not do things like:

    • Tagcloud of only space labels of spaces with a specific label.
    • Tagcloud of only page labels of pages in spaces with a specific space label.
  55. Jun 29, 2009

    Thomas Krug says:

    I need a chart based on the following data: 16 FIREFOX 2.0.0.12:WINDOWS NT 5...

    I need a chart based on the following data:

    16 FIREFOX 2.0.0.12:WINDOWS NT 5.2 24351
    16 FIREFOX 2.0.0.18 (.NET CLR 3.5.30729):WINDOWS NT 5.2 37
    16 MSIE 6.0:WINDOWS NT 5.1 2086
    16 MSIE 6.0:WINDOWS NT 5.2 991
    17 FIREFOX 2.0.0.12:WINDOWS NT 5.2 22930
    17 FIREFOX 2.0.0.18 (.NET CLR 3.5.30729):WINDOWS NT 5.2 41
    17 MSIE 6.0:WINDOWS NT 5.1 2101
    17 MSIE 6.0:WINDOWS NT 5.2 973

    X-axis should show be column 1 (grouped) and 2, Y-Axis column 3.

    I am smoking my brain, can anyone point me in the right direction?

    1. Jun 30, 2009

      Sashidaran Jayaraman [Atlassian] says:

      Hi Thomas, Is this what you require? If yes, this is the code that I used: ...

      Hi Thomas,

      Is this what you require?

      If yes, this is the code that I used:

      
      {chart:title=Graph|type=bar|}
      || ||16||17||
      |FIREFOX 2.0.0.12:WINDOWS NT 5.2|24351|22930|
      |FIREFOX 2.0.0.18 (.NET CLR 3.5.30729):WINDOWS NT 5.2|37||41|
      |MSIE 6.0:WINDOWS NT 5.1|2086||2101|
      |MSIE 6.0:WINDOWS NT 5.2|991||973|
      {chart}
      

      Hope that helps.

      Cheers
      JSashi

  56. Nov 26

    Amit Kumar says:

    Hi, It appears that the parameter "pieSectionExplode" is not working with 3D pi...

    Hi,

    It appears that the parameter "pieSectionExplode" is not working with 3D pie charts.

    • pieSectionExplode without 3D pie chart
      {chart:title=Fish Sold|dataOrientation=vertical|pieSectionExplode=Tuna}
      || Fish Type || 2004 || 2005 ||
      || Herring | 9,500 | 8,300 |
      || Salmon | 2,900 | 4,200 |
      || Tuna | 1,500 | 1,500 |
      {chart}
      

      yields

    • pieSectionExplode with 3D pie chart (Tuna section doesn't explode out of pie chart)
      {chart:title=Fish Sold|dataOrientation=vertical|pieSectionExplode=Tuna|3D=true}
      || Fish Type || 2004 || 2005 ||
      || Herring | 9,500 | 8,300 |
      || Salmon | 2,900 | 4,200 |
      || Tuna | 1,500 | 1,500 |
      {chart}
      

      yields

    Any idea?

    Regards,
    Amit Kumar

    1. Dec 08

      Sashidaran Jayaraman [Atlassian] says:

      Hi Amit, I have tested this locally, and I am able to reproduce it. I have rais...

      Hi Amit,

      I have tested this locally, and I am able to reproduce it. I have raised a bug report here. I would suggest you to add yourself as a watcher for the mentioned bug report and feel free to comment or address your concerns through it.

      Cheers
      JSashi