OK In progress...
This commit is contained in:
parent
e7d9dfb5d3
commit
c35376d566
|
@ -224,8 +224,12 @@ namespace CairoChart {
|
|||
* @param is_x is this X-axis or not.
|
||||
* @param nskip returns number of series to skip printing.
|
||||
*/
|
||||
public virtual void join_axes (bool is_x, ref int nskip) {
|
||||
public virtual void join_axes (ref int nskip) {
|
||||
Axis axis = this;
|
||||
bool is_x;
|
||||
if (ser.axis_x == this) is_x = true;
|
||||
else if (ser.axis_y == this) is_x = false;
|
||||
else return;
|
||||
if (!ser.zoom_show) return;
|
||||
if (nskip != 0) {--nskip; return;}
|
||||
var max_rec_width = 0.0, max_rec_height = 0.0;
|
||||
|
|
|
@ -353,10 +353,10 @@ namespace CairoChart {
|
|||
if (nshow == 1) joint_x = joint_y = false;
|
||||
|
||||
for (var si = series.length - 1, nskip = 0; si >= 0; --si)
|
||||
series[si].axis_x.join_axes(true, ref nskip);
|
||||
series[si].axis_x.join_axes(ref nskip);
|
||||
|
||||
for (var si = series.length - 1, nskip = 0; si >= 0; --si)
|
||||
series[si].axis_y.join_axes(false, ref nskip);
|
||||
series[si].axis_y.join_axes(ref nskip);
|
||||
}
|
||||
|
||||
protected virtual void draw_plarea_border () {
|
||||
|
|
Loading…
Reference in New Issue