Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8194

Make it easier to use the Chart Macro by deducing the data source type

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2-milestone-2
    • Fix Version/s: 4.2-milestone-3
    • Component/s: Chart
    • Labels:
    • Tests:
      Integration
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Right now we always default to "xdom" (ie data source is a table defined in a document). However this is not very nice when using the chart macro with data defined in the macro content.

      The new strategy to implement is:

      • if the user has specified a data source type then use it
      • Otherwise if the macro has content defined, default to the inline DS and if not then default to the "xdom" DS

        Attachments

          Activity

            People

            Assignee:
            vmassol Vincent Massol
            Reporter:
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: