Hi
I'm trying to add several vertical lines to an area chart.
The code I'm using is:
select 'dbr.chart', 'Area', 'Costs';
select 'dbr.chart.options','rotateNames',90;
select 'dbr.chart.options','chartdirector', concat('$c->xAxis->addMark("',b_date,'", 0x995500, "Booked")');
select * from costs_tmp;
b_date is a declared varchar and has the format YYYY-MM which is the same as the area chart's x-axis data.
I'm getting the following error: Error in ChartDirector-command: "$c->xAxis->addMark("2016-01", 0x995500, "Booked")"
I would also like to set the line width 2 pixels by using setLineWidth(2), rotate the label by using setFontAngle(90) and put label to left of the line by using setAlignment(Left).
Is this possible?
Many thanks
Jake