Search found 18 matches

by DaveSav
Tue Mar 05, 2013 10:13 pm
Forum: Java
Topic: Export image
Replies: 1
Views: 5985

Export image

Hi, Is it possible to export a chart image without displaying the chart on the device first? I am trying to write a class which does this so that the chart graphic can be saved and displayed in a document later on. But I don't seem to have access to tchart.getExport().getImage().getPNG() Thanks, Dave
by DaveSav
Fri Feb 22, 2013 7:58 pm
Forum: Java
Topic: Legend checkbox styling
Replies: 3
Views: 8302

Re: Legend checkbox styling

No worries.

I'll just try with various shades of grey to white in the legend to get the best look for now.

Any hints to the next release date?

Thanks

Dave
by DaveSav
Wed Feb 20, 2013 11:54 pm
Forum: Java
Topic: Legend checkbox styling
Replies: 3
Views: 8302

Legend checkbox styling

Is there a way to style the checkboxes in the Legend?

If I have a black background, you can see the outline of the checkboxes, but not whether they are ticked.
checkboxes.png
checkboxes.png (7.98 KiB) Viewed 8469 times
Thanks,

Dave
by DaveSav
Wed Feb 20, 2013 8:55 pm
Forum: Java
Topic: Axis color
Replies: 8
Views: 14792

Re: Axis color

Before buying TeeChart, I was using aChartEngine, and you could add a transparent shading below each series line, as in the image below.
achart.png
achart.png (51.31 KiB) Viewed 15011 times
Thanks

Dave
by DaveSav
Tue Feb 19, 2013 11:20 pm
Forum: Java
Topic: Axis color
Replies: 8
Views: 14792

Re: Axis color

Now I'm not sure that Area is what I want. Is there a way to shade below the lines of a line chart?
by DaveSav
Tue Feb 19, 2013 10:01 pm
Forum: Java
Topic: Axis color
Replies: 8
Views: 14792

Re: Axis color

Thanks Yeray, It looks like I've set up my Area chart incorrectly: Series ln = new Area(tchart.getChart()); ((Area)ln).getAreaLines().setVisible(false); ((CustomPoint)ln).setStacked(CustomStack.NONE); [do a loop here] DateTime dt = new DateTime(blah,blah,blah); ln.add(dt, double(DurationData.get(i)....
by DaveSav
Mon Feb 18, 2013 8:52 pm
Forum: Java
Topic: Axis color
Replies: 8
Views: 14792

Re: Axis color

Thanks, Yeray.

Is there a way to remove the black lines from the area chart, and how can I change the look of the background grid?

Thanks

Dave
by DaveSav
Sun Feb 17, 2013 12:29 am
Forum: Java
Topic: Axis color
Replies: 8
Views: 14792

Axis color

I have set as many backgrounds as i could find to black; but I can't find how to set the Axis text to white. Please advise. oops.png Code: tchart.getPanel().setTransparent(false); tchart.getPanel().setColor(Color.BLACK); tchart.getWalls().getBack().setColor(Color.BLACK); tchart.getWalls().getBack()....
by DaveSav
Wed Jan 09, 2013 10:12 pm
Forum: Java
Topic: HighLow chart with TimeSeries
Replies: 7
Views: 13695

Re: HighLow chart with TimeSeries

Brilliant!

Thanks, Yeray.

Thanks very much for your prompt and comprehensive support. Am very impressed.

Regards

Dave
by DaveSav
Wed Jan 09, 2013 9:38 pm
Forum: Java
Topic: Change Legend Font Size
Replies: 5
Views: 11599

Re: Change Legend Font Size

Yep, my bad. I'd actually come up with a more long-winded approach, but yours looks better! DisplayMetrics metrics = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(metrics); switch(metrics.densityDpi){ case DisplayMetrics.DENSITY_LOW: chart.getLegend().getFont().setSize(10);...
by DaveSav
Tue Jan 08, 2013 11:42 pm
Forum: Java
Topic: HighLow chart with TimeSeries
Replies: 7
Views: 13695

Re: HighLow chart with TimeSeries

Thanks Yeray, My intial downfall was choosing the wrong Add method, as you pointed out. I've changed the db and my PHL class to provide the max and min values for a given date for a given 'thing'; where if there is only 1 entry, max and min are the same. This is the code now: chart.removeAllSeries()...
by DaveSav
Tue Jan 08, 2013 11:25 pm
Forum: Java
Topic: Change Legend Font Size
Replies: 5
Views: 11599

Re: Change Legend Font Size

Thanks Yeray, I tried your setsize(20) answer and, although it made the xhdpi legend text more readable, it also scaled up every other dpi, which made the screen look stupid. Images are below... I would say that this issue should be removed from the 'wish list' and added to 'urgent action', as this ...
by DaveSav
Fri Jan 04, 2013 11:37 pm
Forum: Java
Topic: Change Legend Font Size
Replies: 5
Views: 11599

Re: Change Legend Font Size

Having said that;

The above example is using Galaxy S3 as a test device, which is XHDPI

The below image is from a test using Galaxy Ace, which is MDPI, and that looks fine. Could it be to do with how TeeChart renders XHDPI?
Legend_TextSize_MDPI.png
Legend_TextSize_MDPI.png (5.65 KiB) Viewed 11963 times
by DaveSav
Fri Jan 04, 2013 11:21 pm
Forum: Java
Topic: Change Legend Font Size
Replies: 5
Views: 11599

Change Legend Font Size

Is there a way to change the font size of the Legend? In testing (with Galaxy S3), I have a Pie chart with 18 entries. The Legend is hard to read as the text is too small. I thought I would change the data and group everything below 5% into an 'Other' entry, which left me with 14 entries. I expected...
by DaveSav
Fri Jan 04, 2013 9:55 pm
Forum: Java
Topic: HighLow chart with TimeSeries
Replies: 7
Views: 13695

Re: HighLow chart with TimeSeries

Thanks Yeray, I've reduced the data within PHL for this testing as it included what I would consider to be multiple series. This is the data which is being sent via hl.add(dt, (double)PHL.get(i).getSeverity(), PHL.get(i).getName()); 10/11/12 8 Buttock, Right 10/11/12 7 Buttock, Right 11/4/12 8 Butto...