Search found 26 matches
Re: CSS
Thanks.
- Tue Mar 19, 2019 7:02 am
- Forum: Java
- Topic: Smoothing mode
- Replies: 11
- Views: 54305
Re: Smoothing mode
Thanks for the update. Here a sceenshot of a donut chart and the configuration: chart.getAspect().setSmoothingMode(true); chart.getAspect().setTextSmooth(true); chart.getAspect().setView3D(false); chart.getAspect().setOrthogonal(true); chart.getLegend().setVisible(false); chart.getHeader().setText("...
Re: CSS
Ah sorry I should have stated: Java SWT
CSS
Is it possible to style the charts with CSS?
More precise: We would like to define the colors of a pie chart (slices) using CSS.
More precise: We would like to define the colors of a pie chart (slices) using CSS.
- Mon Mar 11, 2019 7:08 am
- Forum: Java
- Topic: Smoothing mode
- Replies: 11
- Views: 54305
Re: Smoothing mode
The reason I ask is, that currently the charts are not smoothed at all even with
So I am wondering if I am making a mistake.
Code: Select all
chart.getAspect().setSmoothingMode(true)
- Fri Mar 08, 2019 3:11 pm
- Forum: Java
- Topic: Legend Positioning and Entriy styling
- Replies: 3
- Views: 31853
Re: Legend Positioning and Entriy styling
I was now able to resolve the issue by replacing
by
Code: Select all
new MarksTip(series.getChart());
Code: Select all
final MarksTip toolTips = new MarksTip();
toolTips.setSeries(series);
toolTips.setChart(chart.getChart());
- Fri Mar 08, 2019 2:26 pm
- Forum: Java
- Topic: Legend Positioning and Entriy styling
- Replies: 3
- Views: 31853
Re: Legend Positioning and Entriy styling
Ok I have been able to more or less resolve this by doing something like: ie series = new Pie() Pie legendSeries = new Pie(); chart.addSeries(series) chart.addSeries(legendSeries) legendSeries.setVisible(false) for key,value in list: series.add(value, key, color) if index<5: legendSeries.add(value, ...
- Fri Mar 08, 2019 11:59 am
- Forum: Java
- Topic: Legend Positioning and Entriy styling
- Replies: 3
- Views: 31853
Re: Legend Positioning and Entriy styling
To get the limited legend, I have impolemented the following (Psudocode) Pie series = new Pie() Pie legendSeries = new Pie(); chart.addSeries(series) chart.addSeries(legendSeries) legendSeries.setVisible(false) for key,value in list: series.add(value, key, color) if index<5: legendSeries.add(value, ...
- Thu Mar 07, 2019 12:34 pm
- Forum: Java
- Topic: Smoothing mode
- Replies: 11
- Views: 54305
Smoothing mode
I am confused about the smoothing mode: The java Doc says: public void setSmoothingMode(boolean value) Sets the type of rendering used to display the Chart depending on whether speed, display quality or antialiasing is required. How can boolean distingusoihe between three modes. The same is for publ...
- Thu Mar 07, 2019 11:51 am
- Forum: Java
- Topic: Inconsistency in colors
- Replies: 2
- Views: 28459
Inconsistency in colors
We have noticed, that TChart.background uses SWT colors while the rest uses your own color class. Is there a reason behind that?
- Wed Mar 06, 2019 8:52 am
- Forum: Java
- Topic: Legend Positioning and Entriy styling
- Replies: 3
- Views: 31853
Legend Positioning and Entriy styling
Hi, I have a few questions concerning Legends: 1.) How can i vertically center legends with RIGHT alignment. 2.) How can I display only the n largest entries from a pie chart in the legend 3.) How can I truncate the displayed string in the legend if the number of characters exceed a certain umber? T...