ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Pie chart label containing formatted date and respective data value
Posted by sofie smith on Sep-05-2014 22:05
Hi

I am trying to render a pie chart label in Java as below.

chart.setLabelFormat("{value|yy-nn-dd hh:nn}"
          + "\\n" + "{value}%");
chart.setData(dataValues, labels);

My problem is pie chart always has the date displayed as  01-00-01 00:00.

However the "\\n" + "{value}%" is represented correctly.

Please note that the labels array contains the correct time in milliseconds represented as
String values.


How do I get my chart to represent the dates correctly?.

Thank you
Sofie

  Re: Pie chart label containing formatted date and respective data value
Posted by Peter Kwan on Sep-06-2014 03:56
In case something is reading this thread, it is a duplication to the following thread (probably due to networking issues causing the browser to retranmit the request):

http://www.chartdir.com/forum/download_thread.php?site=chartdir&bn=chartdir_general&thread=1409909558