Jump to content
We've recently updated our Privacy Statement, available here ×

ahmed.hmani

Members
  • Posts

    2
  • Joined

  • Last visited

ahmed.hmani's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi, i m using this time series chart and i need to make it print the dates that I got in my Data set (added with red by me in the photo), so i can see every point date. (and not dates around the points dates) I tried to use this customizer for this chart but i can't find how to print the resolute of the dataset values: public class BubbleChartCustomizer implements JRChartCustomizer { @Override public void customize(JFreeChart jFreeChart, JRChart jasperChart) { Plot plot = jFreeChart.getPlot(); XYPlot myPlot = (XYPlot)plot; //dataset timeseries TimeSeriesCollection inputDataSet = (TimeSeriesCollection )myPlot.getDataset(); //dataset per stacked area graph TimeTableXYDataset ti = new TimeTableXYDataset(); List seriesList = inputDataSet.getSeries(); //loop through series items to copy to other dataset: TimeTableXYDataset Iterator it = seriesList.iterator(); while (it.hasNext()) { TimeSeries serie = (TimeSeries)it.next(); int itemCount = serie.getItemCount(); for(int i =0; i<itemCount; i++) { //add serie to other dataset ti.add(serie.getTimePeriod(i), serie.getValue(i), (String)serie.getKey(), false); } } }} Can anyone help me with this customizer or is there any example that can help me fix this? Thanks for your Help,
  2. Hi, I m working on this bubble chart : and I need to change axis positions to make it look like this : Is there any way to make the two axis (X,Y) meet in 0 point? I tried to make a customizer class for this chart and I can't find a way to access the chart axis and change it's position. Is there any example of customizers that work on this problem? thank's for your help,
×
×
  • Create New...