Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Charting for JavaScript, V1.2 (Read 784 times)
Forum Admin
YaBB Administrator

Rock and Roll

Posts: 577
Joined: Apr 6th, 2003
Charting for JavaScript, V1.2
Aug 20th, 2020 at 2:37pm
Print Post  
We have released version 1.2 of JavaScript Chart library. It contains the following new features:

Axis origin
The origin property of the Axis class lets you specify the origin of an axis. If set to a non-null value, the component renders an axis line inside the plot. Bars are drawn below that axis line if their values are smaller than the origin. For stacked bar charts, each bar length corresponds to the difference between bar's value and origin.
The Plot.drawOrigins and Plot2D.drawOrigins methods allow you to draw the axis origin lines when rendering the chart plot by yourself.

  • A new SimpleSeries constructor override allows you to specify a list with tooltips for the newly created Series.
  • The new drawLeftFromPoint method allows you to render text, which is left-aligned compared to a given Point.
  • The new methods fromObject and toObject of the Font class allow you to deserialize and serialize Font instances from/to Json objects.
  • innerLabelRotation, outerLabelRotation and stackOuterLabels properties give you better control over the rendering of labels in bar charts.
  • All Series can accept now simple JavaScript array-s as arguments instead of Collections.List instances.
  • The ToolTip class is greatly extended with many new properties that allow you to customize the apparance and position of tooltips.
  • The Color.knownColors field lists all standard CSS color names.
  • Brush and Pen instances can be created with simple strings that specify the HTML code of the color as argument instead of Color objects.
  • The yLabelAlignment property of BiaxialChart specifies horizontal alignment of Y-axis labels.
  • Texts are now properly underlined when FontStyle.Underline is set.
  • Fixed a bug that caused a stacked BarChart sometimes to crash.

Latest distribution can be downloaded here, or from the clients area on our site.

« Last Edit: Nov 30th, 2020 at 3:09pm by Forum Admin »  
Back to top
IP Logged
Page Index Toggle Pages: 1
Send TopicPrint