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

    • Improvement
    • Resolution: Fixed
    • Minor
    • 4.2-milestone-3
    • 4.2-milestone-2
    • Chart
    • Integration
    • Unknown

    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

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

            Dates

              Created:
              Updated:
              Resolved: