build identifier: i20100319-1449

the bug occurs only right after setting the data source before previewing the report.

reproducible: always

steps to reproduce:
1. open new project dialog from eclipse file menu, select business intelligence and reporting tools, and click next.
2. type any project name on report project dialog and click finish. open associated perspective dialog is displayed. 
    click yes to display birt perspective.
3. on navigator view, right click the project and select import, select file system, and select the test_report_chart_format2.rptdesign. then, click finish.
4. double click the test_report_chart_format2.rptdesign on navigator view. the report design is displayed. 
5. double click the data source and set the "select folder" to the path where orders.csv has been copied.
6. open edit chart dialog by double clicking the chart on the report layout.
created an attachment (id=163063)
test_report_chart_format2.rptdesign
which build version are you using? 2.5.2 or 2.6.0? i can't tell that in your build identifier.
in addition, could you provide the csv file?
created an attachment (id=163207)
order.csv
===== description =====
null value is presented in chart preview in edit chart dialog
==== environment =====
build level: 		i20100319-1449 
component: 		birt
platform: 		redhat 5.4
jre: 			jre-1_5_0_22-windows-i586-p.exe (sun java 5)
affected locale(s): 	tchinese, turkish


===== steps to reproduce =====
1. open new project dialog from eclipse file menu, select business intelligence and reporting tools, and click next.
2. type any project name on report project dialog and click finish. open associated perspective dialog is displayed. 
    click yes to display birt perspective.
3. on navigator view, right click the project and select import, select file system, and select the test_report_chart_format2.rptdesign. then, click finish.
4. double click the test_report_chart_format2.rptdesign on navigator view. the report design is displayed. 
5. double click the data source and set the “select folder” to the path where orders.csv has been copied.
6. open edit chart dialog by double clicking the chart on the report layout. 

===== expected result =====
0.0 is displayed in chart preview in edit chart dialog

===== actual result =====
null value is presented in chart preview in edit chart dialog
created an attachment (id=163208)
screenshot
hi,

could any one give us an update?

many thanks
could you please add dbcs3.6 to the title of this bug so my reporting tool will be able to find this bug automatically.

thanks
title updated with [dbcs3.6], thanks.

- steven.
yulin, this is for version 2.6.0.

would you be able to provide any update on the state of this bug?
(in reply to comment #9)
> yulin, this is for version 2.6.0.
> 
> would you be able to provide any update on the state of this bug?

i can not reproduce the null value. there's a bar in live preview of chart builder, and there are many rows of data in data preview. please take a look at my attached screenshot, and make sure if the data is loaded successfully in chart builder.
created an attachment (id=164170)
screenshot with correct result

please make sure if data is loaded successfully in your machine.
the null error happens when a preview of the report is skipped/not clicked on after selecting the data source.

e.g., after selecting the report template and selecting the data source, you then direct go to edit the chart.

when this is done, we would see the null value.

could you help advise?

many thanks.

- steven
(in reply to comment #12)
> the null error happens when a preview of the report is skipped/not clicked on
> after selecting the data source.
> 
> e.g., after selecting the report template and selecting the data source, you
> then direct go to edit the chart.
> 
> when this is done, we would see the null value.
> 
> could you help advise?
> 
> many thanks.
> 
> - steven

although i can't reproduce, i think this should be expected behavior.
chart gets one row of null data, so it displays null as the first item in legend.
hi yulin,

if this is an expected behavior, could you please kindly update the status.

thank you,
cole chen


(in reply to comment #13)
> although i can't reproduce, i think this should be expected behavior.
> chart gets one row of null data, so it displays null as the first item in
> legend.
expected behavior.
chart gets one row of null data, so it displays null as the first item in
legend.
hi yulin,

thanks for the update.

note: this is expected behaviour, and if preview option is selected first, then the data can load as expected to the report.
closing this bug as invalid, since it was due to expected behaviour.

thanks.

- steven.