Tabnine Logo
TickUnit.valueToString
Code IndexAdd Tabnine to your IDE (free)

How to use
valueToString
method
in
org.jfree.chart.axis.TickUnit

Best Java code snippets using org.jfree.chart.axis.TickUnit.valueToString (Showing top 5 results out of 315)

origin: org.codehaus.jtstand/jtstand-chart

/**
 * Generates a list of tick values for the angular tick marks.
 *
 * @return A list of {@link NumberTick} instances.
 *
 * @since 1.0.10
 */
protected List refreshAngleTicks() {
  List ticks = new ArrayList();
  for (double currentTickVal = 0.0; currentTickVal < 360.0;
      currentTickVal += this.angleTickUnit.getSize()) {
    NumberTick tick = new NumberTick(new Double(currentTickVal),
      this.angleTickUnit.valueToString(currentTickVal),
      TextAnchor.CENTER, TextAnchor.CENTER, 0.0);
    ticks.add(tick);
  }
  return ticks;
}
origin: jfree/jfreechart

/**
 * Generates a list of tick values for the angular tick marks.
 *
 * @return A list of {@link NumberTick} instances.
 *
 * @since 1.0.10
 */
protected List refreshAngleTicks() {
  List ticks = new ArrayList();
  for (double currentTickVal = 0.0; currentTickVal < 360.0;
      currentTickVal += this.angleTickUnit.getSize()) {
    TextAnchor ta = calculateTextAnchor(currentTickVal);
    NumberTick tick = new NumberTick(new Double(currentTickVal),
      this.angleTickUnit.valueToString(currentTickVal),
      ta, TextAnchor.CENTER, 0.0);
    ticks.add(tick);
  }
  return ticks;
}
origin: jfree/jfreechart

lowerStr = unit.valueToString(lower);
upperStr = unit.valueToString(upper);
origin: org.codehaus.jtstand/jtstand-chart

lowerStr = unit.valueToString(lower);
upperStr = unit.valueToString(upper);
origin: org.codehaus.jtstand/jtstand-chart

lowerStr = unit.valueToString(lower);
upperStr = unit.valueToString(upper);
org.jfree.chart.axisTickUnitvalueToString

Javadoc

Converts the supplied value to a string.

Subclasses may implement special formatting by overriding this method.

Popular methods of TickUnit

  • equals
    Tests this unit for equality with another object.
  • getMinorTickCount
    Returns the minor tick count.
  • getSize
    Returns the size of the tick unit.
  • hashCode
    Returns a hash code for this instance.
  • compareTo
    Compares this tick unit to an arbitrary object.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • runOnUiThread (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • getExternalFilesDir (Context)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now