Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
hbensaid
Contributor III
Contributor III

tLineChart issue

Hi Team,

Can you please help to solve this issue with tLineChart:

 

xception in component tLineChart_1
org.jfree.data.general.SeriesException: X-value already exists.
at org.jfree.data.xy.XYSeries.add(XYSeries.java:363)
at org.jfree.data.xy.XYSeries.add(XYSeries.java:324)
at org.jfree.data.xy.XYSeries.add(XYSeries.java:305)
at projectname.stats_recharge_charting_0_1.Stats_Recharge_Charting.tMysqlInput_1Process(Stats_Recharge_Charting.java:1175)
at projectname.stats_recharge_charting_0_1.Stats_Recharge_Charting.runJobInTOS(Stats_Recharge_Charting.java:1467)
at projectname.stats_recharge_charting_0_1.Stats_Recharge_Charting.main(Stats_Recharge_Charting.java:1332)

 

I used the tBarChart it's OK , but when i try to use tLineChart i get this error.

 

Thank you in advance

Labels (3)
1 Solution

Accepted Solutions
fdenis
Master
Master

did you check data format?
are you using multiple txxxChart in the same job?

View solution in original post

10 Replies
fdenis
Master
Master

check your data you have the same value two time for the x axis.
hbensaid
Contributor III
Contributor III
Author

Hi fdenis,

Thank you for your feedback, but i double check my data i found that is OK. and i  tested again with tBarChart it's working fine.

 

 

fdenis
Master
Master

did you check data format?
are you using multiple txxxChart in the same job?
hbensaid
Contributor III
Contributor III
Author

 

I

t's working now even if i didn't change nothing, i have just restart talend soft.

 

thank you for your support.

manodwhb
Champion II
Champion II

@hbensaid,can you check the configuration of tLineChart.

 

if you are not sure how to configure the tLineChart ,check the below link.

 

 

https://help.talend.com/reader/hCrOzogIwKfuR3mPf~LydA/PO6IA3I8Jdf2rZQYBPn7rQ

manodwhb
Champion II
Champion II

@hbensaid,still do you have issue?

hbensaid
Contributor III
Contributor III
Author

Hi,

It's OK now.

Thx.

manodwhb
Champion II
Champion II

Please accept the solution,which one is useful.
hbensaid
Contributor III
Contributor III
Author

Hi Team,
I have one problem usint tLinechart again,
my input file have this format:

Date(yyyyMMdd as integer);total(integer)
20180630;8456320
20180701;9876879
20180702;8876879
20180703;8276879
20180704;8576879
20180705;9076879
20180706;9276879
20180707;9476879
20180708;8876879
20180709;7976879
20180710;9176879
20180711;9506879
20180712;9676879
20180713;9276879
20180714;9376879
20180715;8876879
20180716;9876879

when i use the tLinechart to display stats evolution i get this issue.

 

thank you in advance




ChartOut.PNG