Issue Details (XML | Word | Printable)

Key: CHRT-42
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Bob Swift
Reporter: Hubert Chen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Confluence Chart Plugin

Time series charts do not support multiple data sets

Created: 13/Jan/07 02:10 AM   Updated: 22/Jan/07 08:35 AM
Component/s: {chart}
Affects Version/s: 1.5, 1.6, 1.6a, 1.7, 1.7.1
Fix Version/s: 1.7.2

Time Tracking:
Not Specified

Labels:


 Description  « Hide
I'd like to be able to put two data sets into a single timeseries chart. This currently does not appear to work.
{chart:title=Operation times past 7 days|dataOrientation=vertical|type=timeSeries|width=400|height=400|dateFormat=yyyy-MM-DD H:m:s|timePeriod=Minute|domainAxisTickUnit=20}
||Date||Values||2nd Set||
|2006-12-01 01:00:00| 1|5|
|2006-12-01 01:05:00| 1|6|
|2006-12-01 01:10:00| 2|7|
|2006-12-01 01:15:00| 2|7|
|2006-12-01 01:20:00| 2|7|
|2006-12-01 01:25:00| 3|7|
|2006-12-01 01:30:00| 2|7|
|2006-12-01 01:35:00| 1|7|
|2006-12-01 01:40:00| 1|7|
{chart}


 All   Comments   Work Log   Change History   FishEye   Crucible   Builds      Sort Order: Ascending order - Click to sort in descending order
Bob Swift added a comment - 13/Jan/07 01:35 PM
Add a second table within the chart tag. Then it works. I will see if about handling multiple columns
Date 2nd Set
2006-12-01 01:00:00 5
2006-12-01 01:05:00 6
2006-12-01 01:10:00 7
2006-12-01 01:15:00 7
2006-12-01 01:20:00 7
2006-12-01 01:25:00 7
2006-12-01 01:30:00 7
2006-12-01 01:35:00 7
2006-12-01 01:40:00 7
{chart}

Bob Swift added a comment - 13/Jan/07 06:56 PM
Yes, multiple columns can be handled easily. Its not very practical as is, so I will try to address this soon.

Bob Swift added a comment - 13/Jan/07 10:03 PM
This is a pre-release. Should solve your problem for now until an official release comes out.

Hubert Chen added a comment - 16/Jan/07 01:53 PM
Thanks for the quick response. I will try it out.

Hubert Chen added a comment - 16/Jan/07 03:38 PM
I wasn't able to get this running. I got the following error:

Unable to render content due to system error: com/atlassian/confluence/languages/LanguageManager

I am on confluence 2.1.3. Chart 1.7 worked fine before.


Bob Swift added a comment - 16/Jan/07 03:55 PM
Didn't know you were on 2.1.x. Starting with Chart 1.7.1, you need Confluence 2.2.x and above which enables the support for different languages. Other than that, 1.7 and 1.7.1 are the same function. Unfortunately, this means that all support going forward will be restricted to 2.2 and above.

Hubert Chen added a comment - 16/Jan/07 04:13 PM
Fair enough.

For now, I'll just rewrite my tables(which is a bit unfortunate because each table is a sql query, which would do much better as one big query rather than separate queries per data set). I'll look into upgrading to 2.2 sooner rather than later.


Bob Swift added a comment - 16/Jan/07 04:27 PM
Yes, I know the feeling and performance will be much better. I highly recommend 2.2 release. We went to 2.2.9 about 5 months ago and it has been very stable.

Bob Swift added a comment - 22/Jan/07 08:34 AM
Time series and xy series charts can now get data from tables with multiple columns (for dataOrientation=vertical).