[
https://issues.apache.org/jira/browse/TRINIDAD-1433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694250#action_12694250
]
Krishna commented on TRINIDAD-1433:
-----------------------------------
For those having same issue here is what I found and some workarounds:
1) The list to be added is a list of list of values - so even if u have 1
value to plot, u need to create a list adding only one element to each. For
example to plot 1,2,3,4 it needs values as [[1], [2], [3], [4]]
Would be very nice if were just a list of values and multiple ones can be added
as multiple list - like [[1,2,3,4], [6,7,8,9]] since we usually get all values
of a plot at a time.
2) Series color are colors for each dataset and is defaulted only to 6 colors.
Need to add more if u have more or u get a nullpointer.
3) No solution yet for how to show X values (more so in fixed intervals)
4) No solution on how to plot dates since it only takes double params.
> Line not being displayed in chart
> ---------------------------------
>
> Key: TRINIDAD-1433
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1433
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Components
> Affects Versions: 1.2.11-core
> Environment: Windows XP, Eclipse 3.4.2 Tomcat 6.0.18
> Reporter: Krishna
> Priority: Blocker
>
> I have beeing trying to get this working for a few days but could not get
> much help on the charting details.
> I am getting a chart which almost looks blank but for two dots looks like the
> first and last point. I can see all the data - X and Y values, titles etc.
> However I am yet to see the points connected.
> Is there a seperate option ? I tried playing with all the colors - there
> were 6 and I came to know what the firts three were but the others are a
> mystery.
> Another issue is even thoough I tried setting the min/max programmatically, I
> cant get rid of the space (about 1 inch) in the beginning and the end
> assuming the points I see are the start and end points.
> I cannot see the X axis values also. Is there a way to set this as time ?
> Any help would be great.
> thanks
> Chart looks like this :
> -------------------------
> | . ' |
> -------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.